Author: mageshbk(a)jboss.com
Date: 2008-09-01 07:54:35 -0400 (Mon, 01 Sep 2008)
New Revision: 8146
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/ant-import/build-testsuite.xml
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
Log:
[JBPAPP-1037] Fixed - [JBWS-2245] test cannot find temp directory
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/ant-import/build-testsuite.xml
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/ant-import/build-testsuite.xml 2008-09-01
11:49:53 UTC (rev 8145)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/ant-import/build-testsuite.xml 2008-09-01
11:54:35 UTC (rev 8146)
@@ -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-1037/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-09-01
11:49:53 UTC (rev 8145)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1037/src/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBase.java 2008-09-01
11:54:35 UTC (rev 8146)
@@ -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())