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 <[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]
-- HTH, Ted. * http://www.husted.com/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]