Hello,
I have struts2 webapp which uses 5 jar files required for struts2. When I build it, I get all jar files in WEB-INF/lib directory. That is good.
Then I created EnterpriseApp and added webapp to it. Now when I build EAR, only struts.jar is placed in WEB-INF/lib, the other 4 jar files are placed in the root of ear, alongside of webapp.war. That is crazy!
If I build webapp first, then EnterpriseApp, I get all jar files in WEB-INF/lib, but EnterpriseApp build puts 4 jars in the ear again.
I tried to debug ant build, step by step, but got lost. Does anybody know why would EnterpriseApp build behave in such a strange way?
Thanks!
Dario