[jetty-dev] [jira] (JETTY-991) Starting Jetty in separate JVM
"Edd grant (JIRA)" <[email protected]> Tue, 3 Jul 2012 05:41:21 -0500 (CDT)
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1581945553.20080.1341312081793.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Edd grant
commented on JETTY-991
Starting Jetty in separate JVM
Thanks, have grabbed it from the Jetty Snapshots repo and am using 8.1.5-SNAPSHOT, Jetty startup logs confirm that 8.1.5-SNAPSHOT is now being used at runtime:
[STDERR] 2012-07-03 11:33:53.486:INFO:omjp.Starter:Started Jetty Server
[STDERR] 2012-07-03 11:33:53.487:INFO:oejs.Server:jetty-8.1.5-SNAPSHOT
Still seems to block though when I execute mvn clean install. Sorry, I'm not trying to turn this JIRA in to a forum-style posting but could I ask you to confirm if I'm using the <waitForChild> element correctly as I'm keen to get this working? Thanks.
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.5-SNAPSHOT</version>
<configuration>
<stopPort>9999</stopPort>
<stopKey>foo</stopKey>
<jettyXml>${project.build.testOutputDirectory}/jetty.xml</jettyXml>
<jettyEnvXml>${project.build.testOutputDirectory}/jetty-webapp.xml</jettyEnvXml>
<scanIntervalSeconds>10</scanIntervalSeconds>
<contextPath>/em3/gateway/admin</contextPath>
<useTestClasspath>false</useTestClasspath>
<jvmArgs>-Dlog4j.configuration=file:${project.basedir}/src/test/resources/log4j.properties
-Dem3PropertiesLocation=${project.build.testOutputDirectory}
</jvmArgs>
<daemon>true</daemon>
<!-- Eclipse doesn't give me an auto complete but also doesn't complain about 'waitForChild' here, however Jetty still blocks 'mvn clean install'. -->
<waitForChild>false</waitForChild>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run-forked</goal>
</goals>
<configuration>
<daemon>true</daemon>
<!-- Eclipse doesn't give me an auto complete but also doesn't complain about 'waitForChild' here, however Jetty still blocks 'mvn clean install'. -->
<waitForChild>false</waitForChild>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators .
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email