RE: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread SimonRichardson2
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

Re: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread Stefan Bodewig
<[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

RE: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread SimonRichardson2
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

Re: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread Stefan Bodewig
<[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

RE: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread SimonRichardson2
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

RE: Passed in $CLASSPATH versus javac classpath

2001-05-03 Thread SimonRichardson2
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.

Re: Passed in $CLASSPATH versus javac classpath

2001-05-02 Thread Stefan Bodewig
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).

Re: Passed in $CLASSPATH versus javac classpath

2001-05-02 Thread Stefan Bodewig
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

RE: Passed in $CLASSPATH versus javac classpath

2001-05-02 Thread J.D. Fagan
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