Thanks for the help. The war:inplace needs to be in the after clean goals to get it to correctly update the libraries. However now I need to sync my workspace with my file system. The war:inplace is correctly running, and the files are there when I open WEB-INF/lib in Finder. However my project wouldn't sync with the filesystem, so I had to click on the refresh tab, then I selected "The project containing the selected resource" since I want to whole project to refresh, and WTP to deploy any updated jars. Now I'm stuck in an infinite loop. Every time a refresh happens, the war:inplace happens. After war:inplace, the refresh occurs. The plugin continuously executes war:inplace. Any idea on how to get around this?
On Wed, Apr 30, 2008 at 5:52 AM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote: > Bouiaw wrote: > > > Auto Build Goals: war:inplace > > Manual Build Goals: war:inplace > > During Clean Goals: clean war:inplace > > After Clean Goals: > > > That may not be a good idea, if there are other builders cleaning things. > However "after clean goal" should be executed after clean, so you could try > to put it in there. > > Another option to try, is to add war:inplace goal to list of goals > executed for resource filtering in the Maven project configuration page. > > regards, > Eugene > > On Tue, Apr 29, 2008 at 7:24 AM, Todd Nine <[EMAIL PROTECTED] <mailto: > > [EMAIL PROTECTED]>> wrote: > > > > Hi all, > > I have Eclipse 3.3.2, Maven 2.0.9 and plugin version > > 0.9.3.20080421. I have configured the plugin to use my maven > > installation, not the bundled maven. I am trying to get the m2 > > builder to execute "war:inplace" when the project is built to copy > > the maven dependencies into my project space. I'm doing the > > following, and it doesn't work. > > > > 1. Right click on the project and select properties > > 2. Click on builders > > 3. Click on New, select Maven build, then click OK > > 4. Fill out the following values > > > > Auto Build Goals: war:inplace > > Manual Build Goals: war:inplace > > During Clean Goals: clean > > After Clean Goals: > > > > However > > > > However, when I run a clean (which auto builds), the clean goal is > > executed and war:inplace is not. This would be quite handy to run > > automatically during a build so I don't have to run it from the > > command line, then manually sync my project. Any ideas on the > > problem? > > > > Thanks, > > Todd > > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
