> -----Original Message----- > From: Nick Lothian [mailto:[EMAIL PROTECTED] > Sent: samedi 26 juin 2004 10:42 > To: [EMAIL PROTECTED] > Subject: Maven Jetty Plugin > > Is there any information for how to use the jetty plugin? > > I'd like to use it to start up a servlet and then run some JUnit tests > against it. I've figured out how to start it and configure it, but > starting jetty blocks the build process. > > Is there a way to fork the maven process that starts jetty, run the > JUnit tests and then signal to close it down? >
<!-- Start Jetty --> <j:thread> <attainGoal name="jetty:run-war"/> </j:thread> <ant:waitfor> <ant:http url="[url to wait for to decide when server is started]"/> </ant:waitfor> <!-- Whatever you want to do here --> -Vincent --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
