I once posted this question (in a different context) to the IDEA EAP forum.
There is a very un-obvious way to make Idea do this.
See
http://www.intellij.net/forums/thread.jspa?messageID=5081712
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947343#3947343
Reply
I was thinking of zipping em up into a jar, putting that in the EAR, and
naming it as a java module in application.xml
Hmmm ...
Since I believe you can only add ejb and web modules into ear module.
And application.xml only excepts ejb and web tag inside module tag.
So, I can add a new java
anonymous wrote : And application.xml only excepts ejb and web tag inside
module tag.
This is not correct. application.xml accepts java modules.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947092#3947092
Reply to the post :
anonymous wrote :
| This is not correct. application.xml accepts java modules.
|
Great. So how do I define them?
Any thoughts why then IDEA doesn't support this in application.xml?
anonymous wrote :
| I was thinking of zipping em up into a jar, putting that in the EAR
|
How do you
There is an example of this in every single seam example:
application
| display-nameSeam Blog/display-name
|
| module
| web
| web-urijboss-seam-blog.war/web-uri
| context-root/seam-blog/context-root
| /web
|
| module
| javajboss-seam.jar/java
| /module
|
How to get IDEA to 'grab' this jar and pack it into ear?
If I do it this way (although it looks that is works - is this 'correct' way to
add resources to application)
anonymous wrote :
| So, I can add a new java module -
Packaging of jPDL files is a really good question, and one I don't have a good
answer for yet.
I was thinking of zipping em up into a jar, putting that in the EAR, and naming
it as a java module in application.xml.
View the original post :