ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r897049 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java
Date Thu, 07 Jan 2010 23:15:30 GMT
Author: maartenc
Date: Thu Jan  7 23:15:30 2010
New Revision: 897049

URL: http://svn.apache.org/viewvc?rev=897049&view=rev
Log:
Don't forget to call the init() method when a new Project instance is created!

Modified:
    ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java?rev=897049&r1=897048&r2=897049&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java Thu Jan  7 23:15:30
2010
@@ -210,6 +210,7 @@
         // test case for IVY-304
         // first we do a resolve with useOrigin=true in another project
         Project project = new Project();
+        project.init();
         project.setProperty("ivy.settings.file", "test/repositories/ivysettings.xml");
         project.setProperty("ivy.dep.file", "test/java/org/apache/ivy/ant/ivy-simple.xml");
         IvyResolve resolve = new IvyResolve();



Mime
View raw message