If you run war:inplace, you won't run maven again for changing non-junit tested code. Edit JSP, refresh browser. And if you target your IDE at Web-INF/classes, you might get away with not running them at all :)
Ok, I'll call it war:inplace. Cheers, Brett > -----Original Message----- > From: Eric Pugh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 19 August 2003 8:36 AM > To: 'Maven Users List' > Subject: RE: [ANNOUNCE] Maven Tomcat Deployment Plugin > > > I think people call that style of development "inplace".. > war internal makes me think I shouldn't run it, that the war > goal runs it somehow. I like the war inplace idea. > > Here is a question. I am using Eclipse, and the sysdeo > tomcat plugin. It would be nice if I ran war:inplace to not > run the unit tests. But, if I run war:webapp, I want to run > them.. I don't know if some trickery with maven.test.skip > could be used? Typically I would use war:inplace when I edit > .html, css, or other non Junit tested code. Eric > > > -----Original Message----- > > From: Brett Porter [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 19, 2003 12:27 AM > > To: 'Maven Users List' > > Subject: RE: [ANNOUNCE] Maven Tomcat Deployment Plugin > > > > > > > There was also some discussion of 'in-place' webapp > development on > > > the list a couple of weeks ago, I think those goals could be > > > usefully added. > > > > I've written a war:fill goal that I was going to commit in the near > > future. It basically runs war:webapp with maven.war.target.dir = > > maven.war.src. > > Since most of the source files = dest files, this works, it copies > > resources > > and deps into /WEB-INF/classes and /WEB-INF/lib, and allows you to > > continue > > hooking you own goals onto war:webapp and have them apply. I > > also edited > > war:clean to clean up afterwards. > > > > Can anyone think of a batter target name than war:fill? Is > war:inplace > > better? war:internal? > > > > - Brett > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
