dows drive
>> letter as
>> >> the working directory.
>> >>
>> >> Ben
>> >>
>> >> -Original Message-
>> >> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>> >> Sent: Friday, February 09, 2007 11:36 AM
>>
720017
>> >>
>> >> Basically, java.net.URL.getFile() had a bug that would return an
>> >> incorrect String if the file is not on the same windows drive
>> letter as
>> >> the working directory.
>> >>
>> >> Ben
>> &g
gt; -Original Message-
>> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 09, 2007 11:36 AM
>> To: Ant Users List
>> Subject: Re: Ant 1.7.0 can't find Junit in ${user.home}/.ant/lib
>>
>>
>> I am using Windows. And it works just
]
>> Sent: Friday, February 09, 2007 11:36 AM
>> To: Ant Users List
>> Subject: Re: Ant 1.7.0 can't find Junit in ${user.home}/.ant/lib
>>
>>
>> I am using Windows. And it works just fine with Ant-1.6.5 no matter the
>> JDK.
>> But under JDK1
va.net.URL.getFile() had a bug that would return an
> incorrect String if the file is not on the same windows drive letter as
> the working directory.
>
> Ben
>
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 09, 2007
if the file is not on the same windows drive letter as
the working directory.
Ben
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 11:36 AM
To: Ant Users List
Subject: Re: Ant 1.7.0 can't find Junit in ${user.home}/.ant/lib
I am using Wind
ng directory.
Ben
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 11:36 AM
To: Ant Users List
Subject: Re: Ant 1.7.0 can't find Junit in ${user.home}/.ant/lib
I am using Windows. And it works just fine with Ant-1.6.5 no matter th
I am using Windows. And it works just fine with Ant-1.6.5 no matter the JDK.
But under JDK1.3.1 with Ant-1.7.0, it fails (but works with JDK1.6). My user
home is like any normal windows machine
C:\Documents and Settings\jkjome\.ant\lib
And when I copy junit.jar from my .ant/lib to ${ant.h
I have tested with JDK 1.3 and it works:
~/learning/a/junit> ant -debug
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.3 in: /usr/java/jdk1.3.1_18/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Hi Peter,
Can you take another look at this? I apologize that I did not point
it out in the original email, but the problem is specifically with
older JVM's such as JDK1.3.1. I happened to be using it for building
the project where I found the problem. I just didn't realize it was
specifi
Hi Peter,
I narrowed it down. Indeed, your findings are correct for JDK
1.5 (or JDK 1.6 on my machine). Try it under JDK 1.3.1. That's when
it fails to find Junit.jar unless junit.jar is under
${ant.home}/lib. Not sure about JDK 1.4.x since I don't care to install it.
Jake
At 02:57
Just tested with ant 1.7.0 and this does not happen
for me - the available does find junit in ~/.ant/lib
build.xml:
JUnit is not currently available to the build environment.
Because of this, all targets that require JUnit will be skipped. To
enable these targets, place a
12 matches
Mail list logo