ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: <available> bug in 1.4.1?
Date Wed, 22 May 2002 20:47:39 GMT

----- Original Message -----
From: "Dominique Devienne" <DDevienne@lgc.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, May 22, 2002 12:58 PM
Subject: <available> bug in 1.4.1?


> <available> seems to deal incorrectly with filepaths containing quoted
> directories. With the build.xml snippet below, the path listed, you can
see
> in the debug output included that <available> is confused by the first ;"
> entries is sees, inventing a new directory name P:\com_lgc\v3\"C, and
> messing up the one following (the quoted one). Is this a bug in 1.4.1, and
> is it corrected in 1.5 beta? Thanks, --DD

> P:\com_lgc\v3>set Path
> Path=C:\Program Files\Unified
> Messenger\Common;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;"C:
> \pro\exceed\Accessories\";C:\pro\bin;C:\pro\vim\vim61;C:\pro\jdk1.4\bin

you dont need to quote stuff inside PATH; fix that and available will work.
e.g.

C:\java\Apps\jakarta-ant>path
PATH=D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;C:\java\Apps\ja
kart
a-ant\bin;D:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\Program
Files\WinCvs120;D:\Studio
\FrameworkSDK\Bin;D:\Studio\Vc7\bin;D:\Studio\Common7\IDE;D:\WINDOWS\Microso
ft.N
ET\Framework\v1.0.3705;C:\java\JDK\bin


> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

I'd pull .VBS;.VBE;.JS;.JSE;.WSF;.WSH out of there and bind the extensions
notepad, me.




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message