Message3847
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% |
|
Date |
User |
Action |
Args |
2008-11-25 10:08:16 | otmarhumbel | set | messageid: <1227607696.63.0.883084202537.issue1180@psf.upfronthosting.co.za> |
2008-11-25 10:08:16 | otmarhumbel | set | recipients:
+ otmarhumbel, pjenvey |
2008-11-25 10:08:16 | otmarhumbel | link | issue1180 messages |
2008-11-25 10:08:15 | otmarhumbel | create | |
|