You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2012/04/02 00:08:45 UTC

svn commit: r1308204 - /ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml

Author: maartenc
Date: Sun Apr  1 22:08:44 2012
New Revision: 1308204

URL: http://svn.apache.org/viewvc?rev=1308204&view=rev
Log:
The IvyResources task is not compatible with Ant 1.6. Since the minimal requirement is still Ant 1.6, we should print a warning when the antlib is loaded instead of throwing an error.

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml?rev=1308204&r1=1308203&r2=1308204&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/antlib.xml Sun Apr  1 22:08:44 2012
@@ -19,7 +19,7 @@
 -->
 <antlib xmlns:current="ant:current">
     <typedef name="settings" classname="org.apache.ivy.ant.IvyAntSettings"/>
-    <typedef name="resources" classname="org.apache.ivy.ant.IvyResources"/>
+    <typedef name="resources" classname="org.apache.ivy.ant.IvyResources" onerror="report"/>
 	<taskdef name="configure" classname="org.apache.ivy.ant.IvyConfigure"/>
 	<taskdef name="resolve" classname="org.apache.ivy.ant.IvyResolve"/>
 	<taskdef name="retrieve" classname="org.apache.ivy.ant.IvyRetrieve"/>