I have the same problem as Nascif on my box (win vista + ant 1.7) after a "ant clean" then "ant test". I have to go right now (my wife is waiting for me), but I'll try to investigate later this week-end.
Xavier On 10/6/07, Maarten Coene <[EMAIL PROTECTED]> wrote: > > I don't have a problem with Ant 1.7.0 and windows XP: > > test-internal: > [junit] Running org.apache.ivy.ant.AntBuildTriggerTest > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2,774 sec > [junit] Running org.apache.ivy.ant.AntCallTriggerTest > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,152 sec > [junit] Running org.apache.ivy.ant.IvyAntSettingsTest > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,671 sec > > Anyone an idea? > > -- > Maarten > > ----- Original Message ---- > From: Nascif Abousalh-Neto <[EMAIL PROTECTED]> > To: [email protected] > Sent: Friday, October 5, 2007 11:47:11 PM > Subject: Problems with Ant 1.7.0 > > > Hi, > > I downloaded the latest snapshot source to see if it fixes our NPE > problems. I am using Ant 1.7.0 on a Windows XP box. While I was able > to > create the jar, all the tests were failing with the same error: > > Running org.apache.ivy.ant.IvyArtifactReportTest > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec > [junit] Test org.apache.ivy.ant.IvyArtifactReportTest FAILED > (crashed) > [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 3,657 > sec > [junit] java.io.FileNotFoundException: > c:\home\lib\ivy-snapshot\ivy\junitvmwatcher413096398.properties (The > system cannot find the file specified) > [junit] at java.io.FileInputStream.open(Native Method) > [junit] at > java.io.FileInputStream.<init>(FileInputStream.java:106) > [junit] at java.io.FileReader.<init>(FileReader.java:55) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(J > UnitTask.java:1028) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask > .java:817) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JU > nitTask.java:1657) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask > .java:764) > [junit] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > [junit] > > I noticed that in the working directory a file with the following name > pattern was being created over and over: > junit2024044871.properties > > Seems like a simple name mismatch. Perhaps there is a conflict between > the ant related classes that come with Ivy and Ant 1.7.0? > > When I switched to an Ant 1.6.5 install the JUnit tests worked fine. > Thanks, > Nascif > > > > > > > > > > ____________________________________________________________________________________ > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. > http://farechase.yahoo.com/ > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/
