ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: cvs commit: jakarta-ant bootstrap.bat
Date Sat, 18 Mar 2000 00:44:20 GMT
Jason,

On NT you can use setlocal/endlocal which looks a little cleaner. Don't know
if it works on 95/98

Conor


> -----Original Message-----
> From: jhunter@locus.apache.org [mailto:jhunter@locus.apache.org]
> Sent: Saturday, 18 March 2000 10:16
> To: jakarta-ant-cvs@apache.org
> Subject: cvs commit: jakarta-ant bootstrap.bat
>
>
> jhunter     00/03/17 15:15:36
>
>   Modified:    .        bootstrap.bat
>   Log:
>   Stopped the script from blowing away the
> JAVA_HOME/JAVA/JAVAC/CLASSPATH values.
>   Without this fix it didn't work on my NT JDK 1.3b system.  I've
> tested the
>   current script on JDK 1.3b and JDK 1.2 and it now respects JAVA_HOME.
>
>   Revision  Changes    Path
>   1.7       +10 -7     jakarta-ant/bootstrap.bat
>
>   Index: bootstrap.bat
>   ===================================================================
>   RCS file: /home/cvs/jakarta-ant/bootstrap.bat,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- bootstrap.bat	2000/03/17 15:22:08	1.6
>   +++ bootstrap.bat	2000/03/17 23:15:35	1.7
>   @@ -2,9 +2,9 @@
>
>    REM You will need to specify JAVA_HOME if compiling with 1.2 or later.
>
>   -set JAVA_HOME=
>   -set JAVA=
>   -set JAVAC=
>   +set OLDJAVA=%JAVA%
>   +set OLDJAVAC=%JAVAC%
>   +set OLDCLASSPATH=%CLASSPATH%
>
>    if exist ..\antrc.bat call ..\antrc.bat
>
>   @@ -58,8 +58,11 @@
>    echo.
>    echo ... Done Bootstrapping Ant Distribution
>
>   -set JAVA_HOME=
>   -set JAVA=
>   -set JAVAC=
>   -set CLASSPATH=
>   +set JAVA=%OLDJAVA%
>   +set JAVAC=%OLDJAVAC%
>   +set CLASSPATH=%OLDCLASSPATH%
>   +set OLDJAVA=
>   +set OLDJAVAC=
>   +set OLDCLASSPATH=
>    set TOOLS=
>   +
>
>
>
>


Mime
View raw message