ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Luby <patrick.l...@sun.com>
Subject Re: [PATCH] jakarta-ant HEAD branch
Date Fri, 16 Aug 2002 15:40:04 GMT
Stephane,

Stephane Bailliez wrote:
> ----- Original Message -----
> From: "Patrick Luby" <patrick.luby@sun.com>
> [...]
> 
> 
> Thanks !
> 
> 
>> rem %~dp0 is name of current script under NT
>> set DEFAULT_ANT_HOME=%~dp0
> 
> If I'm not wrong this should be %~dp0...
> I will change the legacy comment as it is misleading since %~dp0 is the
> expanded drive and path of the current script with a trailing backslash)
> 

This comment was in the original file so I did not bother updating it. I 
think the original intent of the comment is that this code only supports 
Window 2000, NT, and XP.

BTW, I tried to switch the script to use the more generic %0\..\.. 
instead of %~dp0 in the hope that we could support Window 95, 98, and 
ME, but I ran into problems when %0 includes spaces.

> Otherwise this should be ok as far as I can read batch files. Thanks a lot.
> 
> Stephane
> 

Patrick

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

-- 
________________________________________________________________
Patrick Luby                     Email: patrick.luby@sun.com
Sun Microsystems                         Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900
________________________________________________________________


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


Mime
View raw message