javaee / javaee-spec

Java EE Platform Specification
https://javaee.github.io/javaee-spec
Other
389 stars 69 forks source link

ear alt-dd should be able to specify module alt-dd external to the ear file #31

Open glassfishrobot opened 10 years ago

glassfishrobot commented 10 years ago

The spec currently requires the ability to provide an alternative deployment descriptor for an ear file when deploying the ear file. The alternative deployment descriptor will NOT be packaged in the ear file, to allow overriding the application's deployment descriptor without modifying the application package.

However, the spec does not describe a way for that ear-level alternative deployment descriptor to reference module-level alternative deployment descriptors that are NOT packaged in the ear file. There should be a way to do this.

One approach would be to specify the alternative deployment descriptor as a jar file that could contain both an application.xml deployment descriptor as well as module deployment descriptors referenced by alt-dd elements in that application.xml deployment descriptor.

glassfishrobot commented 10 years ago

Reported by @bshannon

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAEE_SPEC-31