struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: Struts2 Showcase Example and Eclipse
Date Wed, 18 Oct 2006 18:56:19 GMT
The Maven command reads the pom.xml files to obtain the dependencies
and basic project structure. I don't think there are POM files in the
exploded WAR, so you would have to work from the source distribution
or checkout.

Starting from the root of the struts2 source distribution (you see all
folders and a single pom.xml), with Maven 2 installed, you can run

$  mvn eclipse:eclipse

and the Maven eclipse plugin will generate all the Eclipse setup
files. Likewise for IDEA

$  mvn idea:idea

For more than you wanted to know, see also

* http://cwiki.apache.org/WW/building-with-maven.html

-Ted.


On 10/18/06, Jim Reynolds <jim.jreynold@gmail.com> wrote:
> Don,
> Where do I run the mvn command from? From the exploded code in Tomcat?
> Or from the download? Sorry, a bit lost here.
>
> Thanks,
>
> On 10/18/06, Don Brown <donald.brown@gmail.com> wrote:
> > Simply type, from the command line, "mvn eclipse:eclipse" and Maven
> > will generate all the Eclipse-related project files.  Add the
> > '-Dwtpversion=1.0' flag to also generate Web Tools Project files.
> >
> > For running the thing, I've had good experiences using the Jetty Maven
> > 2 plugin.  See our Bootstrap tutorial -
> > http://cwiki.apache.org/confluence/display/WW/Bootstrap
> >
> > I also found this useful:
> > http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
> >
> > Don
> >
> > On 10/18/06, Jim Reynolds <jim.jreynold@gmail.com> wrote:
> > > I have downloaded and deployed the showcase examples for Struts2 as a
> > > learning tool. I have been going through the code file by file, and
> > > was wondering if there was a better way to handle this. I have Eclipse
> > > IDE and was wondering if the project could be imported into Eclipse,
> > > so I can walk the classes easier. I am new with Eclipse and also
> > > Struts2. So I am looking for advice on how I could configure this and
> > > also be able to make changes and see the changes within the web app.
> > >
> > > Make sense? Thanks,
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
HTH, Ted.
* http://www.husted.com/struts/

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


Mime
View raw message