ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Hanin <Xavier.Ha...@sas.com>
Subject RE: LatestConflictManagerTest fails
Date Thu, 06 Dec 2007 22:32:28 GMT
It's strange. Try to go in debug mode and see what happens with the third matcher in TestHelper#parseMicroIvyDescriptor.
Oh, and since we are using a constant for the pattern, are you sure you cleaned your build
before running (you say you have a fresh copy, so I don't see how it cold be an issue... but
anyway).

Xavier

> -----Original Message-----
> From: Maarten Coene [mailto:maarten_coene@yahoo.com]
> Sent: Thursday, December 06, 2007 5:28 PM
> To: dev@ant.apache.org
> Subject: LatestConflictManagerTest fails
>
> Hi,
>
> The LatestConflictManagerTest fails on my fresh copy of svn trunk.
> However, it doesn't fail on gump. Anyone an idea?
>
> I get the following exception when running in Eclipse (all tests fail
> with similar error, except the first one)
> java.lang.IllegalArgumentException: invalid micro ivy format: #A;1-> {
> #B;1.4 #C;[2.0,2.5] }
>     at
> org.apache.ivy.TestHelper.parseMicroIvyDescriptor(TestHelper.java:168)
>     at org.apache.ivy.TestFixture.addMD(TestFixture.java:82)
>     at
> org.apache.ivy.plugins.conflict.LatestCompatibleConflictManagerTest.tes
> tCompatibilityResolve1(LatestCompatibleConflictManagerTest.java:55)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at junit.framework.TestCase.runTest(TestCase.java:164)
>     at junit.framework.TestCase.runBare(TestCase.java:130)
>     at junit.framework.TestResult$1.protect(TestResult.java:106)
>     at junit.framework.TestResult.runProtected(TestResult.java:124)
>     at junit.framework.TestResult.run(TestResult.java:109)
>     at junit.framework.TestCase.run(TestCase.java:120)
>     at junit.framework.TestSuite.runTest(TestSuite.java:230)
>     at junit.framework.TestSuite.run(TestSuite.java:225)
>     at
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JU
> nit3TestReference.java:130)
>     at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.j
> ava:38)
>     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteT
> estRunner.java:460)
>     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteT
> estRunner.java:673)
>     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRu
> nner.java:386)
>     at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestR
> unner.java:196)
>
> Maarten
>
>
>
>
>
>
> _______________________________________________________________________
> _____________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message