/home/lib/ivy-snapshot/ivy > java -version java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
-----Original Message----- From: Maarten Coene [mailto:[EMAIL PROTECTED] Sent: Saturday, October 06, 2007 2:26 PM To: [email protected] Subject: Re: Problems with Ant 1.7.0 Maybe it's JDK related? I'm using JDK 1.4 -- Maarten ----- Original Message ---- From: Xavier Hanin <[EMAIL PROTECTED]> To: [email protected] Sent: Saturday, October 6, 2007 12:52:48 PM Subject: Re: Problems with Ant 1.7.0 It seems we are not alone to have the same kind of problem: http://www.nabble.com/junitvmwatcher-error-junit-4.4%2C-ant-1.7-tf453687 5.html#a13049311 I've tested on my box with java 1.6 and 1.5, and I have the problem with both. It seemed to be due to the inclusion of an older version of ant in our classpath, but I'm suprised you don't get the problem Maarten. I'll try to see if I can figure out how to fix that. If anybody has an idea it is welcome. Xavier On 10/6/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: > > 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/ -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/ ________________________________________________________________________ ____________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433
