ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r1043813 - in /ant/core/trunk/src/tests/antunit: antunit-base.xml taskdefs/secure-input.xml taskdefs/taskdef-test.xml
Date Thu, 09 Dec 2010 01:34:55 GMT
Author: antoine
Date: Thu Dec  9 01:34:54 2010
New Revision: 1043813

URL: http://svn.apache.org/viewvc?rev=1043813&view=rev
Log:
get 100% passing tests under Windows jdk 1.5 - the JRE 1.5 is not able to open a jar URL when
the jar is in a path containing an exclamation mark in the middle

Modified:
    ant/core/trunk/src/tests/antunit/antunit-base.xml
    ant/core/trunk/src/tests/antunit/taskdefs/secure-input.xml
    ant/core/trunk/src/tests/antunit/taskdefs/taskdef-test.xml

Modified: ant/core/trunk/src/tests/antunit/antunit-base.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/antunit-base.xml?rev=1043813&r1=1043812&r2=1043813&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/antunit-base.xml (original)
+++ ant/core/trunk/src/tests/antunit/antunit-base.xml Thu Dec  9 01:34:54 2010
@@ -19,6 +19,7 @@
 
   <property name="input" location="${java.io.tmpdir}/testinput"/>
   <property name="output" location="${java.io.tmpdir}/testoutput"/>
+  <available property="jdk1.6+" classname="java.util.ServiceLoader"/>
 
   <target name="tearDown">
     <delete dir="${input}"/>

Modified: ant/core/trunk/src/tests/antunit/taskdefs/secure-input.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/secure-input.xml?rev=1043813&r1=1043812&r2=1043813&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/secure-input.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/secure-input.xml Thu Dec  9 01:34:54 2010
@@ -20,7 +20,6 @@
 	<import file="../antunit-base.xml"/>
 	
 	<target name="setUp">
-		<available property="jdk1.6+" classname="java.util.ServiceLoader"/>
 	</target>
 		
 	<target name="test-secure-input" if="jdk1.6+">

Modified: ant/core/trunk/src/tests/antunit/taskdefs/taskdef-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/taskdef-test.xml?rev=1043813&r1=1043812&r2=1043813&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/taskdef-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/taskdef-test.xml Thu Dec  9 01:34:54 2010
@@ -43,7 +43,7 @@
     <au:assertLogContains text="Hello"/>
   </target>
 
-  <target name="testDirWithPling" depends="setUp"
+  <target name="testDirWithPling" depends="setUp" if="jdk1.6+"
           description="https://issues.apache.org/bugzilla/show_bug.cgi?id=50007">
     <property name="dir" location="${tmpdir}/pl!ng"/>
     <mkdir dir="${dir}"/>



Mime
View raw message