is the file in the repo? did you apprise eclipse of your maven M2_REPO location? Goto Window -> Preferences -> Java -> build path -> classpath variable -> New
Name M2_REPO Path /path/to/your/.m2/repository http://wiki.foochal.org/index.php/Maven_FAQ#Generating_an_eclipse_project_from_a_maven_project HTH Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Thu, 7 Aug 2008 05:10:09 -0700 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: tomcat webapp and eclipse > > > > Istvan Devai wrote: > > > > I've tried this. I've configured Jetty as a WTP server and added a Jetty > > context file to point to /target/myapp-1.0-SNAPSHOT. It worked, however, > > if I edited a random .html file in Eclipse, these changes were not > > copied to /target/myapp-1.0-SNAPSHOT, only after I ran mvn package. > > How would you automate this? Maybe using one of the maven eclipse plugins? > > > > If you are doing your development with Eclipse and WTP, you may want to > consider to look at Maven integration for Eclipse, such as m2eclipse. > http://m2eclipse.codehaus.org/ > > See, for example, WTP mini how to at > http://docs.codehaus.org/display/M2ECLIPSE/WTP+mini+howto > > regards, > Eugene > > > -- > View this message in context: > http://www.nabble.com/tomcat-webapp-and-eclipse-tp18805558p18868985.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM
