ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant build.sh build.bat
Date Thu, 13 Nov 2003 08:54:23 GMT
%~dp0 is used in ant.bat line 11.
ant.bat does however contain a lot of checking...
Peter

On Wednesday 12 November 2003 22:33, Conor MacNeill wrote:
> On Tue, 11 Nov 2003 03:51 am, antoine@apache.org wrote:
> > antoine     2003/11/10 08:51:18
> >
> >   Modified:    .        Tag: ANT_16_BRANCH build.sh build.bat
> >   Log:
> >   Merge from HEAD
> >   Allow ModifiedSelectorTest to pass when started from build.sh or
> > build.bat PR: 24481
> >   Submitted by: Florian.G. Haas (f dot g dot haas at gmx dot net)
> >
> >   1.38.2.3  +1 -1      ant/build.bat
> >
> >   Index: build.bat
> >   ===================================================================
> >   RCS file: /home/cvs/ant/build.bat,v
> >   retrieving revision 1.38.2.2
> >   retrieving revision 1.38.2.3
> >   diff -u -r1.38.2.2 -r1.38.2.3
> >   --- build.bat	25 Sep 2003 07:44:27 -0000	1.38.2.2
> >   +++ build.bat	10 Nov 2003 16:51:17 -0000	1.38.2.3
> >   @@ -4,7 +4,7 @@
> >    REM   reserved.
> >
> >    set REAL_ANT_HOME=%ANT_HOME%
> >   -set ANT_HOME=bootstrap
> >   +set ANT_HOME=%~dp0\bootstrap
> >    if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist
> > bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt call
> > bootstrap.bat
> >    if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist
> > bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
>
> I'm pretty sure the %~dp0 option is not available on Win 98/ME etc.
>
> Conor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


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


Mime
View raw message