Understood .. thanx
> -Original Message-
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2001 10:39
> To: [EMAIL PROTECTED]
> Subject: Re: Passed in $CLASSPATH versus javac classpath
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > So
<[EMAIL PROTECTED]> wrote:
> So I understand from what you've said that it's the CLASSPATH
> environment variable which is accessible through the javac task and
> NOT the LOCALCLASSPATH (set in ant.bat and ant (sh)), even though
> ant is executed in these scripts as follows:
>
> java -classpath
LCLASSPATH} . org.apache.tools.ant.Main ..
I hope you don't think I'm dragging this one out a little too much :-).
Simon
> -Original Message-
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: 03 May 2001 10:07
> To: [EMAIL PROTECTED]
> Subject: Re: Passed i
<[EMAIL PROTECTED]> wrote:
>> > It appears that whenever ant encounters a task, it uses
>> > the passed in $LOCALCLASSPATH instead of any path specified using
>> > the "classpath" attribute of the task.
>>
>> No, it prepends the passed in CLASSPATH by default (changeable via
>> build.sysclassp
Stefan
Could you please look at the 2 questions below:
> > It appears that whenever ant encounters a task, it uses the
> > passed in $LOCALCLASSPATH instead of any path specified using the
> > "classpath" attribute of the task.
>
> No, it prepends the passed in CLASSPATH by default (changeabl
David
We also use a wrapper to call ant, however the calls in our wrappers are in
the form
'ant -buildfile -logfile '
Which on NT invokes ant.bat and on Solaris invokes the ant shell script.
The problem we encountered was that ant.bat and ant (shell) construct
LOCALCLASSAPATH in different ways.
David Bailey <[EMAIL PROTECTED]> wrote:
> It appears that whenever ant encounters a task, it uses the
> passed in $LOCALCLASSPATH instead of any path specified using the
> "classpath" attribute of the task.
No, it prepends the passed in CLASSPATH by default (changeable via
build.sysclasspath).
J. D. Fagan <[EMAIL PROTECTED]> wrote:
> I believe in Ant 1.4, you can change the classpath behavior with
> build.sysclasspath:
This property has already been present (but undocumented) in Ant 1.3.
Stefan
I believe in Ant 1.4, you can change the classpath behavior with
build.sysclasspath:
build.sysclasspath
The value of the build.sysclasspath property control how the system
classpath, ie. the classpath in effect when Ant is run, affects the
behaviour of classpaths in Ant. The default behavior vari