Dont know ...
But here the source "ant" line 322:

ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" 
-Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts 
org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\""

-classpath $LOCALCLASSPATH
-cp        $CLASSPATH


The LOCALCLASSPATH is set in lines 149+.


Jan


 

>-----Ursprüngliche Nachricht-----
>Von: Neil Crow [mailto:[email protected]] 
>Gesendet: Montag, 26. Januar 2009 10:18
>An: [email protected]
>Betreff: Classpath question for schell script.
>
>
>Hi,
>
>Why does the ant shell script specify (different) values for both the
>-classpath and -cp command line options?
>
>Regards,
>Neil Crow
>[email protected]
>
>
>This e-mail is subject to a disclaimer, available at
>http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communi
>cations.html
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to