So is this going to startup my local tomcat, verse embedded tomcat for testing? Then the local tomcat just needs to be configured with my proper context.xml...??? --- Thank You…
Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Vacation Rental: http://tahoe.baselogic.com On Fri, Jul 25, 2008 at 9:04 AM, Marc Schneider <[EMAIL PROTECTED]> wrote: > Mick Knutson a écrit : > > I want to specify a test version of my tomcat context with my cargo >> plugin, >> but can't seem to find anything about that on the site. Is this possible? >> >> --- >> Thank You… >> >> Mick Knutson >> BASE Logic, inc. >> (415) 354-4215 >> >> Website: http://baselogic.com >> Blog: http://baselogic.com/blog >> BLiNC Magazine: http://blincmagazine.com >> Linked IN: http://linkedin.com/in/mickknutson >> DJ Mick: http://djmick.com >> MySpace: http://myspace.com/mickknutson >> Vacation Rental: http://tahoe.baselogic.com >> >> > May be you can try it like this : > (For me it also works for Tomcat 6x) > > <plugin> > <groupId>org.codehaus.cargo</groupId> > <artifactId>cargo-maven2-plugin</artifactId> > <configuration> > <wait>false</wait> > <container> > <containerId>tomcat5x</containerId> > <home>${tomcat.local.home}</home> > </container> > <configuration> > <properties> > <cargo.logging>high</cargo.logging> > <cargo.servlet.port>${servlet.port}</cargo.servlet.port> > </properties> > </configuration> > </configuration> > <executions> > <execution> > <id>start-container</id> > <phase>pre-integration-test</phase> > <goals> > <goal>start</goal> > </goals> > </execution> > <execution> > <id>stop-container</id> > <phase>post-integration-test</phase> > <goals> > <goal>stop</goal> > </goals> > </execution> > </executions> > </plugin> > > Marc. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
