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


Reply via email to