Message3847

Author otmarhumbel
Recipients otmarhumbel, pjenvey
Date 2008-11-25.10:08:15
SpamBayes Score 1.5719868e-05
Marked as misclassified No
Message-id <1227607696.63.0.883084202537.issue1180@psf.upfronthosting.co.za>
In-reply-to
Content
JYTHON_HOME determination for Windows:

rem try to dynamically determine jython home
rem this script usually resides in the home directory, or in the /bin
subdirectory
pushd "%~dp0%"
set _JYTHON_HOME="%CD%"
popd
if exist %_JYTHON_HOME%\jython.jar goto gotHome
if exist %_JYTHON_HOME%\jython-complete.jar goto gotHome
pushd "%~dp0%\.."
set _JYTHON_HOME="%CD%"
popd
if exist %_JYTHON_HOME%\jython.jar goto gotHome
if exist %_JYTHON_HOME%\jython-complete.jar goto gotHome
rem jython home fallback (if all else fails)
rem if present, %JYTHON_HOME_FALLBACK% is already quoted
set _JYTHON_HOME=%JYTHON_HOME_FALLBACK%
History
Date User Action Args
2008-11-25 10:08:16otmarhumbelsetmessageid: <1227607696.63.0.883084202537.issue1180@psf.upfronthosting.co.za>
2008-11-25 10:08:16otmarhumbelsetrecipients: + otmarhumbel, pjenvey
2008-11-25 10:08:16otmarhumbellinkissue1180 messages
2008-11-25 10:08:15otmarhumbelcreate