[jboss-cvs] JBossAS SVN: r57452 - trunk/testsuite/imports/sections
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 5 15:35:11 EDT 2006
Author: dimitris at jboss.org
Date: 2006-10-05 15:35:08 -0400 (Thu, 05 Oct 2006)
New Revision: 57452
Modified:
trunk/testsuite/imports/sections/jmx.xml
Log:
JBAS-3742 - On windows the codebase needs an extra slash because the codebaseURL starts with a drive letter
Modified: trunk/testsuite/imports/sections/jmx.xml
===================================================================
--- trunk/testsuite/imports/sections/jmx.xml 2006-10-05 19:24:01 UTC (rev 57451)
+++ trunk/testsuite/imports/sections/jmx.xml 2006-10-05 19:35:08 UTC (rev 57452)
@@ -710,20 +710,22 @@
</fileset>
</jar>
- <property environment="env"/>
- <property name="win32.drive" value="${env.SYSTEMDRIVE}"/>
+ <!-- On windows the codebase needs an extra slash
+ because the codebaseURL starts with a drive letter -->
+ <condition property="winslash" value="/" else="">
+ <os family="windows"/>
+ </condition>
<pathconvert targetos="unix" property="codebaseURL">
- <map from="${win32.drive}" to=""/>
<path path="${build.lib}"/>
</pathconvert>
- <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">
+ file="${build.resources}/jmx/archivestest-service.xml">
<filterset>
- <filter token="codebase" value="file://${codebaseURL}"/>
+ <filter token="codebase" value="file://${winslash}${codebaseURL}"/>
</filterset>
</copy>
+ <echo message="+++ build.lib=${build.lib}"/>
+ <echo message="+++ codebase=file://${winslash}${codebaseURL}"/>
<!-- internal test sar -->
<jar destfile="${build.lib}/jmx-nointernal.sar">
More information about the jboss-cvs-commits
mailing list