EAR archive and root xml files

Is there a way to package any dependant xml descriptor files directly into EAR's archive root?

For example:

<app-with-seam-and-jbpm>.ear
- META-INF/application.xml
- META-INF/jboss-app.xml
*- pageflow.jpdl.xml
- jbpm.cfg.xml
- hibernate.cfg.xml //H3 cfg for jbpm
*- jboss-seam.jar
- jbpm-3.1.jar
- mybusiness.jar //ejb3 stuff
- myweb.war
- manifest.mf
- ...

With IDEA built 5.1.1 there is no problem packaging ejb3 apps, but I just don't see the way how to include those xml files into this IDEA ear module build.

Rgds, Ales

1 comment
Comment actions Permalink

Hello Ales,

Please go to Settings | Modules | ]]> | "Java EE Application Module
Settings" tab | "Deployment descriptors" group,
click the "Add..." button, specify path to your descriptor, specify "Directory
path relative to deployment root" and click "OK".

Is there a way to package any dependant xml descriptor files directly
into EAR's archive root?

For example:

<app-with-seam-and-jbpm>.ear
- META-INF/application.xml
- META-INF/jboss-app.xml
*- pageflow.jpdl.xml
- jbpm.cfg.xml
- hibernate.cfg.xml //H3 cfg for jbpm
*- jboss-seam.jar
- jbpm-3.1.jar
- mybusiness.jar //ejb3 stuff
- myweb.war
- manifest.mf
- ...
With IDEA built 5.1.1 there is no problem packaging ejb3 apps, but I
just don't see the way how to include those xml files into this IDEA
ear module build.

Rgds, Ales



0

Please sign in to leave a comment.