You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by xa...@apache.org on 2007/12/07 23:28:26 UTC

svn commit: r602250 - /ant/ivy/core/trunk/test/java/org/apache/ivy/TestFixture.java

Author: xavier
Date: Fri Dec  7 14:28:24 2007
New Revision: 602250

URL: http://svn.apache.org/viewvc?rev=602250&view=rev
Log:
use basic settings rather than default settings for test fixture, which avoid having ibiblio resolver in test settings

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

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/TestFixture.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/TestFixture.java?rev=602250&r1=602249&r2=602250&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/TestFixture.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/TestFixture.java Fri Dec  7 14:28:24 2007
@@ -71,8 +71,11 @@
     public TestFixture() {
         try {
             this.ivy = new Ivy();
-            ivy.configureDefault();
+            IvySettings settings = new IvySettings();
+            settings.defaultInit();
+            ivy.setSettings(settings);
             TestHelper.loadTestSettings(ivy.getSettings());
+            ivy.bind();
         } catch (Exception e) {
             throw new RuntimeException(e);
         }