ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: cvs commit: jakarta-ant build.bat
Date Sun, 04 Feb 2001 01:23:58 GMT
Pete,

The bootstrap\lib\ant.jar is not needed here because it is added by the
ant.bat script when it is called. The only reason I have added parser.jar
and jaxp.jar is that I did not want to copy these files into the
bootstrap/lib directory.

If you look at the classpath that is actually used to run ant with your
change, it will have two instances of boostrap\lib\ant.jar. Whilst not a
problem, it is unnecessary. Was this causing you a problem? It shouldn't
have been so I would like to know the underlying cause.

For example, with your patch my classpath when running a build is
Setting project property: java.class.path ->
f:\jdk1.3\lib\tools.jar;bootstrap\lib\optional.jar;bootstrap\lib\ant.jar;li
b\parser.jar;lib\jaxp.jar;bootstrap\lib\ant.jar;

Let me know what you get.

Conor



----- Original Message -----
From: <donaldp@apache.org>
To: <jakarta-ant-cvs@apache.org>
Sent: Sunday, February 04, 2001 11:51 AM
Subject: cvs commit: jakarta-ant build.bat


> donaldp     01/02/03 16:51:59
>
>   Modified:    .        build.bat
>   Log:
>   Made sure env vars are cleaned
>
>   Also added bootstrap jars to CLASSPATh because for some reason they
were not being added otherwise ???
>
>   Revision  Changes    Path
>   1.26      +2 -1      jakarta-ant/build.bat
>
>   Index: build.bat
>   ===================================================================
>   RCS file: /home/cvs/jakarta-ant/build.bat,v
>   retrieving revision 1.25
>   retrieving revision 1.26
>   diff -u -r1.25 -r1.26
>   --- build.bat 2001/02/03 14:23:47 1.25
>   +++ build.bat 2001/02/04 00:51:59 1.26
>   @@ -7,9 +7,10 @@
>    call bootstrap.bat
>
>    :runAnt
>   -set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar
>   +set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar;bootstrap\lib\ant.jar
>    for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i"
>    set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
>   +set LOCALCLASSPATH=
>
>    if not "%REAL_ANT_HOME%" == "" goto install_ant
>    call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
>
>


Mime
View raw message