I'm invoking ant with a wrapper script, which calls ant using
'$JAVACMD -classpath $LOCALCLASSPATH $ANT_OPTS org.apache.tools.ant.Main
$ENVOPTS $@'
It appears that whenever ant encounters a <javac> task, it uses the passed in
$LOCALCLASSPATH instead of any path specified using the "classpath" attribute of
the <javac> task. Is this expected behavior? Is there anything that can be
done (other than refraining from using the '-classpath' option in the wrapper)
to make ant use the classpath specified in the <javac> task rather than the one
passed via the '-classpath' option?
Thanks,
--dave
- RE: Passed in $CLASSPATH versus javac classpath David . Bailey
- RE: Passed in $CLASSPATH versus javac classpath J.D. Fagan
- Re: Passed in $CLASSPATH versus javac classpath Stefan Bodewig
- Re: Passed in $CLASSPATH versus javac classpath Stefan Bodewig
- RE: Passed in $CLASSPATH versus javac classpath SimonRichardson2
- RE: Passed in $CLASSPATH versus javac classpath SimonRichardson2
- Re: Passed in $CLASSPATH versus javac classpath Stefan Bodewig
- RE: Passed in $CLASSPATH versus javac classpath SimonRichardson2
- Re: Passed in $CLASSPATH versus javac classpath Stefan Bodewig
- RE: Passed in $CLASSPATH versus javac classpath SimonRichardson2
