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 2010/01/08 00:15:30 UTC

svn commit: r897049 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyRetrieveTest.java

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();