From: <fwi...@us...> - 2009-08-19 14:30:21
|
Revision: 6696 http://jython.svn.sourceforge.net/jython/?rev=6696&view=rev Author: fwierzbicki Date: 2009-08-19 14:30:14 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Added support for "jython -J-classpath cp_arg_goes_here" in jython unix shell. Modified Paths: -------------- trunk/jython/src/shell/jython Modified: trunk/jython/src/shell/jython =================================================================== --- trunk/jython/src/shell/jython 2009-08-19 13:23:14 UTC (rev 6695) +++ trunk/jython/src/shell/jython 2009-08-19 14:30:14 UTC (rev 6696) @@ -135,6 +135,12 @@ $JAVA_CMD -X echo "(Prepend -J in front of these options when using 'jython' command)" exit + elif [ "${val}" = "-classpath" ]; then + CP="$CP$CP_DELIMITER$2" + shift + elif [ "${val}" = "-cp" ]; then + CP="$CP$CP_DELIMITER$2" + shift else if [ "${val:0:16}" = "-Dfile.encoding=" ]; then JAVA_ENCODING=$val This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |