[jbossws-commits] JBossWS SVN: r8322 - in framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test: java/org/jboss/test/ws/jaxws/samples/xop/doclit and 1 other directory.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Fri Oct 3 12:24:58 EDT 2008
Author: darran.lofthouse at jboss.com
Date: 2008-10-03 12:24:58 -0400 (Fri, 03 Oct 2008)
New Revision: 8322
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/ant-import/build-testsuite.xml
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
Log:
[JBPAPP-1204] test cannot find temp directory.
Modified: framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/ant-import/build-testsuite.xml
===================================================================
--- framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/ant-import/build-testsuite.xml 2008-10-02 13:35:51 UTC (rev 8321)
+++ framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/ant-import/build-testsuite.xml 2008-10-03 16:24:58 UTC (rev 8322)
@@ -402,6 +402,7 @@
<sysproperty key="java.protocol.handler.pkgs" value="org.jboss.virtual.protocol"/>
<sysproperty key="java.security.policy" value="${tests.output.dir}/classes/tst.policy"/>
<sysproperty key="jboss.home" value="${jboss.home}"/>
+ <sysproperty key="jboss.server.instance" value="${jboss.server.instance}"/>
<sysproperty key="jboss.bind.address" value="${node0}"/>
<sysproperty key="jbossws.integration.target" value="${jbossws.integration.target}"/>
<sysproperty key="jmx.authentication.username" value="${jmx.authentication.username}"/>
@@ -440,6 +441,7 @@
<sysproperty key="java.protocol.handler.pkgs" value="org.jboss.virtual.protocol"/>
<sysproperty key="java.security.policy" value="${tests.output.dir}/classes/tst.policy"/>
<sysproperty key="jboss.home" value="${jboss.home}"/>
+ <sysproperty key="jboss.server.instance" value="${jboss.server.instance}"/>
<sysproperty key="jboss.bind.address" value="${node0}"/>
<sysproperty key="jbossws.integration.target" value="${jbossws.integration.target}"/>
<sysproperty key="jmx.authentication.username" value="${jmx.authentication.username}"/>
Modified: framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
===================================================================
--- framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-10-02 13:35:51 UTC (rev 8321)
+++ framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1204/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-10-03 16:24:58 UTC (rev 8322)
@@ -142,7 +142,7 @@
assertNotNull(response);
assertNotNull(response.getDataHandler().getContent());
- File tmpDir = new File(System.getProperty("jboss.home")+"/server/default/tmp/jbossws");
+ File tmpDir = new File(System.getProperty("jboss.home")+"/server/"+System.getProperty("jboss.server.instance")+"/tmp/jbossws");
assertTrue("Temp dir doesn't exist", tmpDir.exists());
for(String fileName : tmpDir.list())
More information about the jbossws-commits
mailing list