ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Jar file loading
Date Wed, 23 May 2001 14:00:29 GMT
Jim,

Actually because of Windows. I think if you look for *.jar in a batch file,
the old 8.3 thing comes out to play and you find files with any extension
starting with jar. It is probably this line in ant.bat
for %%i in ("%ANT_HOME%\lib\*.jar") do call "%ANT_HOME%\bin\lcp.bat" "%%i"

I tried this
for %%i in ("%ANT_HOME%\lib\*.jar") do echo "%%i"
with the following results

"F:\Software\Ant\lib\ant.jar"
"F:\Software\Ant\lib\ant.jaroobah"
"F:\Software\Ant\lib\crimson.jar"
"F:\Software\Ant\lib\jaxp.jar"
"F:\Software\Ant\lib\optional.jar"

Gotta love that 8.3 legacy.

Conor


----- Original Message -----
From: "Jim Cheesman" <jchees@msl.es>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, May 23, 2001 11:30 PM
Subject: Jar file loading


> If I rename a jar file (on Win2000) from x.jar to x.jar_ ant will load it
> (from ant\lib) correctly - yet if I name it x.txt (for example) it will
not.
>
>
> Is this because of ant or java? (Or is it correct behaviour?)
>
>
> Jim
>
>
>
>
> --
>
>                            *   Jim Cheesman   *
>              Trabajo:
> jchees@msl.es - (34)(91) 724 9200 x 2360
>          On one hand, I'm
> indecisive, but on the other, I'm not.
>
>
>


Mime
View raw message