You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by frankiestd168 <ch...@hotmail.com> on 2006/10/24 23:33:03 UTC

Struts2 runs in Eclipse

Hi all,

Is there any tutorial for setting up Struts2 webapps in Eclipse?

sorry, i'm new to Eclipse, and Struts2.. really have no clue..help..pls..

thx.
-- 
View this message in context: http://www.nabble.com/Struts2-runs-in-Eclipse-tf2504256.html#a6981946
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2 runs in Eclipse

Posted by Don Brown <do...@gmail.com>.
The easiest way to get started is to use the Maven 2 archetype and let
Maven 2 generate your eclipse project files.  Unfortunately, the
Apache servers are currently down, so this method won't immedately
work.  But when they come back up, here are the three commands that
you can run if you have Maven 2 installed:

mvn archetype:create -DgroupId=tutorial \
                       -DartifactId=tutorial \
                       -DarchetypeGroupId=org.apache.struts \
                       -DarchetypeArtifactId=struts2-archetype-starter \
                       -DarchetypeVersion=2.0.1-SNAPSHOT \

-DremoteRepositories=http://people.apache.org/maven-snapshot-repository

cd tutorial

mvn -Dwtpversion=1.0 eclipse:eclipse

That should give you a starter Struts 2 application, and all the
eclipse project files you need.  I'll put this into a proper tutorial
as it is a frequently asked question, but in the meantime, hope this
helps.

Don

On 10/24/06, frankiestd168 <ch...@hotmail.com> wrote:
>
> Hi all,
>
> Is there any tutorial for setting up Struts2 webapps in Eclipse?
>
> sorry, i'm new to Eclipse, and Struts2.. really have no clue..help..pls..
>
> thx.
> --
> View this message in context: http://www.nabble.com/Struts2-runs-in-Eclipse-tf2504256.html#a6981946
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org