You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/04/08 21:27:59 UTC
svn commit: r646043 - in /incubator/cxf/trunk: parent/pom.xml
testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
Author: dkulp
Date: Tue Apr 8 12:27:59 2008
New Revision: 646043
URL: http://svn.apache.org/viewvc?rev=646043&view=rev
Log:
Make sure surefire and the forked servers are set for headless to prevent build failures on the headless machines.
Modified:
incubator/cxf/trunk/parent/pom.xml
incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
Modified: incubator/cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/parent/pom.xml?rev=646043&r1=646042&r2=646043&view=diff
==============================================================================
--- incubator/cxf/trunk/parent/pom.xml (original)
+++ incubator/cxf/trunk/parent/pom.xml Tue Apr 8 12:27:59 2008
@@ -255,6 +255,10 @@
<argLine>-ea</argLine>
<systemProperties>
<property>
+ <name>java.awt.headless</name>
+ <value>true</value>
+ </property>
+ <property>
<name>java.util.logging.config.file</name>
<value>${basedir}/target/test-classes/logging.properties</value>
</property>
Modified: incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java?rev=646043&r1=646042&r2=646043&view=diff
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java (original)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java Tue Apr 8 12:27:59 2008
@@ -328,7 +328,7 @@
cmd.add("-D" + entry.getKey() + "=" + entry.getValue());
}
}
-
+ cmd.add("-Djava.awt.headless=true");
cmd.add("-ea");
cmd.add("-Djavax.xml.ws.spi.Provider=org.apache.cxf.bus.jaxws.spi.ProviderImpl");