A word of warning for those of us building WARs in "Collapsed EAR" format (http://openejb.apache.org/collapsed-ear.html):
* The place that T5.4 uses for javascript modules and assets, WEB-INF/classes/META-INF/ , is also used by your EJB layer for persistence.xml and, for OpenEJB, ejb-jar/xml. Don't accidentally delete them! Geoff On 03/10/2013, at 11:10 PM, Geoff Callender wrote: > Well, that worked! Thank you very much. > > For anyone else who's confused, the structure of the WAR ends up with 2 > META-INF files: > - one in the root context (generated by mvn war:war, it contains the > MANIFEST.MF, pom, etc) > - one in WEB-INF/classes/ (copied there from src/main/resources/ by mvn > resources:resources, it contains whatever you've put in it such as your > javascript modules). > > Geoff > > On 03/10/2013, at 11:00 PM, Thiago H de Paula Figueiredo wrote: > >> On Thu, 03 Oct 2013 09:36:13 -0300, Geoff Callender >> <[email protected]> wrote: >> >>> Now I'm really confused! >>> >>> But I see a few people have said to put META-INF/modules/ in >>> src/main/resources, which would be picked up by mvn resources:resources and >>> put into the project's target/classes, eventually put in the WAR as >>> WEB-INF/classes/META-INF/modules/ . Is that what T5.4's expecting? >> >> Yep! >> >> -- >> Thiago H. de Paula Figueiredo >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
