Re: [m2] No source code in webapp?

2005-11-18 Thread Nathaniel G. Auvil
just create a src/main/java directory. when you do a 'mvn package' it will compile and put the classes under the WEB-INF/classes directory Wendy Smoak <[EMAIL PROTECTED]> wrote: The webapp archetype doesn't create a src/main/java folder. I assume this is because the recommended structure is

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
th mvn war:war the sources are not being compiled... Regards, Bruno 2005/11/17, Nathaniel G. Auvil : > > So i have to manually create and specify where all the directories are? I > thought maven would do this? I dont mean to offend anyone, but if i have to > manually do this, why n

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 src/main/webapps, IIRC. You might check out http://maven.apache.org/plugins/maven-war-plugin/ for more information. - -j Nathaniel G. Auvil wrote: | i am having problems trying to create a new web application. I searched the documentati

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i tried this and it does not work for a web application. I also tried placing them under WEB-INF/classes and that did not work. Bruno Aranda <[EMAIL PROTECTED]> wrote: You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G.

m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i am having problems trying to create a new web application. I searched the documentation and found a reference to building a web application project. I run the command and it builds a webapp. But i have no idea where i should stick my java source files so that when i do a "mvn war:war",