|
From: Claudio V. <ca...@us...> - 2004-06-03 10:50:51
|
User: cazzius
Date: 04/06/03 03:50:44
Modified: . Tag: Branch_3_2 build.xml
Log:
make jmx archivestest run on windows
Revision Changes Path
No revision
No revision
1.165.2.154 +10 -2 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165.2.153
retrieving revision 1.165.2.154
diff -u -r1.165.2.153 -r1.165.2.154
--- build.xml 27 May 2004 01:43:22 -0000 1.165.2.153
+++ build.xml 3 Jun 2004 10:50:42 -0000 1.165.2.154
@@ -15,7 +15,7 @@
<!-- -->
<!-- ============================================================ -->
-<!-- $Id: build.xml,v 1.165.2.153 2004/05/27 01:43:22 ejort Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.154 2004/06/03 10:50:42 cazzius Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -2648,12 +2648,20 @@
<pathconvert targetos="unix" property="codebaseURL">
<path path="${build.lib}"/>
</pathconvert>
+ <condition property="url.prefix" value="file:///">
+ <os family="windows"/>
+ </condition>
+ <condition property="url.prefix" value="file://">
+ <not>
+ <os family="windows"/>
+ </not>
+ </condition>
<echo message="+++ codebase=${codebaseURL}" />
<echo message="+++ build.lib=${build.lib}" />
<copy todir="${build.lib}" filtering="true" overwrite="true"
file="${source.resources}/jmx/archivestest-service.xml">
<filterset>
- <filter token="codebase" value="file://${codebaseURL}"/>
+ <filter token="codebase" value="${url.prefix}${codebaseURL}"/>
</filterset>
</copy>
|