Re: Creating a webapp archetype

2006-10-18 Thread Paul Barry

The standard directory layout says it should be in src/main/webapp

http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

On 10/17/06, Wendy Smoak [EMAIL PROTECTED] wrote:

On 10/17/06, Paul Barry [EMAIL PROTECTED] wrote:

 When I create my project from this archetype, it doesn't copy over the
 webapp stuff, only Test.java.  Can I get the archetype to copy over
 the webapp stuff?

The tree structure seems to have src/webapp, not src/main/webapp.

Compare yours to the Maven provided webapp archetype:
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles/maven-archetype-webapp/

--
Wendy

-
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]



Re: Creating a webapp archetype

2006-10-18 Thread Paul Barry

Actually, it is in src/main/webapp:

http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles/maven-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/

I think my problem is that I have source instead of resources,
I'll give that a try.

On 10/18/06, Paul Barry [EMAIL PROTECTED] wrote:

The standard directory layout says it should be in src/main/webapp

http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

On 10/17/06, Wendy Smoak [EMAIL PROTECTED] wrote:
 On 10/17/06, Paul Barry [EMAIL PROTECTED] wrote:

  When I create my project from this archetype, it doesn't copy over the
  webapp stuff, only Test.java.  Can I get the archetype to copy over
  the webapp stuff?

 The tree structure seems to have src/webapp, not src/main/webapp.

 Compare yours to the Maven provided webapp archetype:
 
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles/maven-archetype-webapp/

 --
 Wendy

 -
 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]



Creating a webapp archetype

2006-10-17 Thread Paul Barry

I have an archetype with the following structure:

maven-archetype-mywebapp
|-- pom.xml
`-- src
   `-- main
   `-- resources
   |-- META-INF
   |   `-- archetype.xml
   `-- archetype-resources
   |-- pom.xml
   `-- src
   |-- main
   |   `-- java
   |   `-- Test.java
   `-- webapp
   |-- index.jsp
   `-- WEB-INF
   `-- web.xml

The archetype.xml looks like this:

archetype
 idmywebapp/id
 sources
   sourcesrc/main/java/Test.java/source
 /sources
 resources
   sourcesrc/main/webapp/index.jsp/source
   sourcesrc/main/webapp/WEB-INF/web.xml/source
 /resources
/archetype

When I create my project from this archetype, it doesn't copy over the
webapp stuff, only Test.java.  Can I get the archetype to copy over
the webapp stuff?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Creating a webapp archetype

2006-10-17 Thread Wendy Smoak

On 10/17/06, Paul Barry [EMAIL PROTECTED] wrote:


When I create my project from this archetype, it doesn't copy over the
webapp stuff, only Test.java.  Can I get the archetype to copy over
the webapp stuff?


The tree structure seems to have src/webapp, not src/main/webapp.

Compare yours to the Maven provided webapp archetype:
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles/maven-archetype-webapp/

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]