Don't forget to add the profiles switch (-Papps,plugins) that will gen your eclipse files under apps and plugins...

 $ cd svn/struts/struts2
 $ mvn eclipse:eclipse -Dwtpversion=1.0 -Papps,plugins




--
James Mitchell
678.910.8017




On Oct 18, 2006, at 1:57 PM, Don Brown wrote:

If you want to tweak the showcase app, the easiest way to run it is
from the source code.  In the source distribution of 2.0.1 or a
checked out trunk, change to the apps/showcase directory.  From there,
you can run the eclipse and jetty maven plugins.

Don

On 10/18/06, Jim Reynolds <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> 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]



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

Reply via email to