|
From: Scott M S. <st...@us...> - 2004-09-09 19:23:42
|
User: starksm
Date: 04/09/09 12:23:30
Modified: . build.xml
Log:
The codebase in the archivestest-service.xml needs to have any win32 drivespec stripped. A mapping from the win32.drive property to "" has been added for this. The default value of the win32.drive is the SYSTEMDRIVE env variable.
Revision Changes Path
1.402 +22 -5 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -r1.401 -r1.402
--- build.xml 9 Sep 2004 11:56:24 -0000 1.401
+++ build.xml 9 Sep 2004 19:23:29 -0000 1.402
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.401 2004/09/09 11:56:24 kabkhan Exp $ -->
+<!-- $Id: build.xml,v 1.402 2004/09/09 19:23:29 starksm Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -4254,7 +4254,10 @@
</fileset>
</jar>
+ <property environment="env"/>
+ <property name="win32.drive" value="${env.SYSTEMDRIVE}" />
<pathconvert targetos="unix" property="codebaseURL">
+ <map from="${win32.drive}" to=""/>
<path path="${build.lib}"/>
</pathconvert>
<echo message="+++ codebase=${codebaseURL}"/>
@@ -7520,8 +7523,22 @@
</style>
</target>
- <!-- include the mqstress test - remember that these tests need to be
- manually updated when the version info of the server changes
- -->
- &mqstress;
+ <target name="test-path">
+ <property environment="env"/>
+ <property name="win32.drive" value="${env.SYSTEMDRIVE}" />
+ <echo message="win32.drive=${win32.drive}" />
+ <pathconvert targetos="unix" property="codebaseURL">
+ <map from="${win32.drive}" to=""/>
+ <path path="output/lib"/>
+ </pathconvert>
+ <echo message="+++ codebase=${codebaseURL}"/>
+ <echo message="+++ build.lib=${build.lib}"/>
+ <copy todir="output/lib" filtering="true" overwrite="true"
+ file="output/resources/jmx/archivestest-service.xml">
+ <filterset>
+ <filter token="codebase" value="file://${codebaseURL}"/>
+ </filterset>
+ </copy>
+ </target>
+
</project>
|