ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1336547 - /ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
Date Thu, 10 May 2012 09:16:10 GMT
Author: maartenc
Date: Thu May 10 09:16:10 2012
New Revision: 1336547

URL: http://svn.apache.org/viewvc?rev=1336547&view=rev
Log:
Added getConfiguredIvyInstance(Task) method for backwards compatibility reasons.

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

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java?rev=1336547&r1=1336546&r2=1336547&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyAntSettings.java Thu May 10 09:16:10
2012
@@ -247,6 +247,13 @@ public class IvyAntSettings extends Data
         return ivyEngine;
     }
 
+    /*
+     * Keep this for backwards compatibility!
+     */
+    public Ivy getConfiguredIvyInstance(Task task) {
+        return getConfiguredIvyInstance((ProjectComponent) task);
+    }
+
     void createIvyEngine(final ProjectComponent task) {
         Project project = task.getProject();
         Property prop = new Property() {



Mime
View raw message