Adding multiple "compile output"s to artifacts

Hello,
I have an EAR that I am trying to build with 2 WARs.  I also have a couple of shared modules that need to be in each WEB-INF/lib directories.  To match our current production environment I cannot move them to the EAR, they must be in the WEB-INF/libs.  My only problem is when I try to add an Archive to the 2 WARs I can only place the "compile output" of my module into 1 of the locations and am unable to place it in the second one.  Is this possible at all?  Maybe an option somewhere?

IntelliJ IDEA 9.0.2 Ultimate

Thank you!

2 comments
Comment actions Permalink

If a module output is already added to an artifact the corresponding item won't be shown in 'Available elements' tree. However you can add that module
to the artifact if you press '+' button on 'Output Layout' toolbar, select 'Module output' item and then select the module.

Hello,
I have an EAR that I am trying to build with 2 WARs.  I also have a couple of shared modules that need to be in each WEB-INF/lib directories.  To match our current production environment I cannot move them to the EAR, they must be in the WEB-INF/libs.  My only problem is when I try to add an Archive to the 2 WARs I can only place the "compile output" of my module into 1 of the locations and am unable to place it in the second one.  Is this possible at all?  Maybe an option somewhere?

IntelliJ IDEA 9.0.2 Ultimate

Thank you!

---
Original message URL: http://www.jetbrains.net/devnet/message/5264627#5264627



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

That worked great, I just didn't think to look there once it disappeared from the panel on the right.  Thank you!

0

Please sign in to leave a comment.