Index: test/repositories/IVY-1233/ivy.xml
===================================================================
--- test/repositories/IVY-1233/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/ivy.xml (revision 0)
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
Index: test/repositories/IVY-1233/ivysettings.xml
===================================================================
--- test/repositories/IVY-1233/ivysettings.xml (revision 0)
+++ test/repositories/IVY-1233/ivysettings.xml (revision 0)
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
Index: test/repositories/IVY-1233/test/a/1.0/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/a/1.0/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/a/1.0/ivy.xml (revision 0)
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
Index: test/repositories/IVY-1233/test/a/1.1/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/a/1.1/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/a/1.1/ivy.xml (revision 0)
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
Index: test/repositories/IVY-1233/test/b/2.0/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/b/2.0/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/b/2.0/ivy.xml (revision 0)
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: test/repositories/IVY-1233/test/b/2.1/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/b/2.1/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/b/2.1/ivy.xml (revision 0)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
Index: test/repositories/IVY-1233/test/c/3.0/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/c/3.0/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/c/3.0/ivy.xml (revision 0)
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: test/repositories/IVY-1233/test/c/3.1/ivy.xml
===================================================================
--- test/repositories/IVY-1233/test/c/3.1/ivy.xml (revision 0)
+++ test/repositories/IVY-1233/test/c/3.1/ivy.xml (revision 0)
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: test/java/org/apache/ivy/core/resolve/ResolveTest.java
===================================================================
--- test/java/org/apache/ivy/core/resolve/ResolveTest.java (revision 961511)
+++ test/java/org/apache/ivy/core/resolve/ResolveTest.java (working copy)
@@ -5186,5 +5186,20 @@
ivy.deliver(pubrev, deliveryPattern, dopts);
}
+
+ public void testIVY1233() throws Exception {
+ Ivy ivy = new Ivy();
+ ivy.configure(new File("test/repositories/IVY-1233/ivysettings.xml"));
+ ivy.getSettings().setDefaultCache(cache);
+
+ ResolveReport rr = ivy.resolve(new File("test/repositories/IVY-1204/ivy.xml").toURI().toURL(),
+ getResolveOptions(new String[] {"*"}));
+ ConfigurationResolveReport crr = rr.getConfigurationReport("default");
+ Set modRevIds = crr.getModuleRevisionIds();
+ assertEquals(3, modRevIds.size());
+ assertTrue(modRevIds.contains(ModuleRevisionId.newInstance("test", "a", "1.0")));
+ assertTrue(modRevIds.contains(ModuleRevisionId.newInstance("test", "b", "2.0")));
+ assertTrue(modRevIds.contains(ModuleRevisionId.newInstance("test", "c", "3.0")));
+ }
}