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"/>