ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r1077808 - /ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml
Date Fri, 04 Mar 2011 05:26:40 GMT
Author: antoine
Date: Fri Mar  4 05:26:39 2011
New Revision: 1077808

URL: http://svn.apache.org/viewvc?rev=1077808&view=rev
Log:
testAdapterNotFound was failing in gump because the adapter in the gump environment is systematically
on the classpath

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml?rev=1077808&r1=1077807&r2=1077808&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/optional/native2ascii-test.xml Fri Mar  4 05:26:39
2011
@@ -36,7 +36,9 @@ public class Adapter implements Native2A
     <javac srcdir="${input}" destdir="${resources}"/>
   </target>
 
-  <target name="testAdapterNotFound" depends="-create-native2ascii-adapter">
+  <target name="testAdapterNotFound" depends="-create-native2ascii-adapter" unless="build.sysclasspath.only">
+    <!-- under gump the failure will not happen because the ${resources} directory is
systematically on the classpath 
+         what would be cool would be a task which removes a path element from the classpath.
Do we have that ? -->
     <au:expectfailure>
       <native2ascii src="${input}" dest="${output}" includes="**/*.java"
                     implementation="org.example.Adapter"/>



Mime
View raw message