[jboss-cvs] JBossAS SVN: r57461 - branches/Branch_4_0/testsuite/imports/sections

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 6 02:56:21 EDT 2006


Author: dimitris at jboss.org
Date: 2006-10-06 02:56:19 -0400 (Fri, 06 Oct 2006)
New Revision: 57461

Modified:
   branches/Branch_4_0/testsuite/imports/sections/jmx.xml
Log:
JBAS-3742 - the ant we use doesn't support 'else' in a 'condition'

Modified: branches/Branch_4_0/testsuite/imports/sections/jmx.xml
===================================================================
--- branches/Branch_4_0/testsuite/imports/sections/jmx.xml	2006-10-06 04:45:01 UTC (rev 57460)
+++ branches/Branch_4_0/testsuite/imports/sections/jmx.xml	2006-10-06 06:56:19 UTC (rev 57461)
@@ -712,20 +712,19 @@
 
       <!-- 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>
+      <condition property="slash" value="/"><os family="windows"/></condition>
+      <condition property="slash" value=""><os family="unix"/></condition>
       <pathconvert targetos="unix" property="codebaseURL">
          <path path="${build.lib}"/>
       </pathconvert>
       <copy todir="${build.lib}" filtering="true" overwrite="true"
          file="${build.resources}/jmx/archivestest-service.xml">
          <filterset>
-            <filter token="codebase" value="file://${winslash}${codebaseURL}"/>
+            <filter token="codebase" value="file://${slash}${codebaseURL}"/>
          </filterset>
       </copy>
       <echo message="+++ build.lib=${build.lib}"/>            
-      <echo message="+++ codebase=file://${winslash}${codebaseURL}"/>
+      <echo message="+++ codebase=file://${slash}${codebaseURL}"/>
       
       <!-- internal test sar -->
       <jar destfile="${build.lib}/jmx-nointernal.sar">




More information about the jboss-cvs-commits mailing list