Ok... yes on jdk 5 and 6 it's different, it works :-). But the problem is only for tests, so we know we have one test failing with jdk 1.4 for 2.0 beta 1, doesn't sound like a showstopper issue for me.
Xavier > -----Original Message----- > From: Maarten Coene [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 06, 2007 5:46 PM > To: Ant Developers List > Subject: Re: LatestConflictManagerTest fails > > I've found it. The Pattern.toString() method doesn't return the String > pattern on JDK 1.4. Maybe this is different on JDK 1.5+? > > Maarten > > ----- Original Message ---- > From: Maarten Coene <[EMAIL PROTECTED]> > To: Ant Developers List <dev@ant.apache.org> > Sent: Thursday, December 6, 2007 11:37:23 PM > Subject: Re: LatestConflictManagerTest fails > > > I run my tests with JDK 1.4, maybe the regular expression handling is > different? > I'll try to debug, but for the moment, I'm trying to understand this > new syntax (or maybe it's just too late in the evening for this) > > Maarten > > ----- Original Message ---- > From: Xavier Hanin <[EMAIL PROTECTED]> > To: Ant Developers List <dev@ant.apache.org> > Sent: Thursday, December 6, 2007 11:32:28 PM > Subject: RE: LatestConflictManagerTest fails > > > 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:[EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > _______________________________________________________________________ > _____________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > _______________________________________________________________________ > _____________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]