RE: Building struts application

2007-01-30 Thread Ran Zilber

Hi
I am not familiar with maven 1.x.

If you intend to use maven 2 you can use the war plugin

Please see the following link:
http://maven.apache.org/plugins/maven-war-plugin/usage.html
   

-Original Message-
From: Saravanan Ponnusamy, EAS-Chennai
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 11:27 AM
To: "undisclosed-recipients:"@gws03.hcl.in
Subject: Building struts application


Hi

How to build struts application using Maven 1.1?

Can you show me some guidance?

Thanks

Sarav



DISCLAIMER:

---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily
reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.


---

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

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



Re: Building struts application

2007-01-30 Thread 秋秋

Hi
  I'm sorry to tell you I am not familiar with maven 1.0,I used maven 2 in
my project,you know,the maven 1 is very different from mven 2,maven 2 is
rewrite by the author base on maven 1, I suggest you  to use maven for your
project,and how to use maven 2 to build a project?I did it follow these
step:
1.install maven 2 on you computer.set the %MAVEN_HOME%/bin to the path.
2,build project direct follow the direct structure of maven's standard like
the following:

*src/main/java*

*Application/Library sources*

src/main/resources

Application/Library resources

src/main/filters

Resource filter files

src/main/assembly

Assembly descriptors

src/main/config

Configuration files

src/main/webapps

Web application sources

src/test/java

Test sources

src/test/resources

Test resources

src/test/filters

Test resource filter files

src/site

Site

LICENSE.txt

Project's license

README.txt

Project's readme

you can also user the maven commands to builder project auto like this:

   1.

 )WebApp

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp

-DarchetypeArtifactId=maven-archetype-webapp

   1.

 )App

mvn archetype:create -DgroupId=com.mycompany.ap -DartifactId=my-app

3.program
4.build jar or war package.
it is hard,and I can't package my project successful,It's very pleasure for
me to receive your mail,It's my fist time to send e_mail to maven org
today,and I am come from shenzhen china ,my english is very poor,I don't
know where you have see my e_mail,pleage tell me the site,thanks,and I hope
I can communicate with you since,so that I can improve my english level,OK?

sam

2007/1/30, Saravanan Ponnusamy, EAS-Chennai <[EMAIL PROTECTED]>:



Hi

How to build struts application using Maven 1.1?

Can you show me some guidance?

Thanks

Sarav



DISCLAIMER:

---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.


---