[Nice-commit] Nice/bin nicec.bat,1.13,1.14
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-10 01:00:55
|
Update of /cvsroot/nice/Nice/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28872/bin Modified Files: nicec.bat Log Message: Restore DOS-style end of lines, and the Emacs setup section. Index: nicec.bat =================================================================== RCS file: /cvsroot/nice/Nice/bin/nicec.bat,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** nicec.bat 8 Feb 2004 02:36:50 -0000 1.13 --- nicec.bat 9 Feb 2004 13:05:34 -0000 1.14 *************** *** 1,55 **** ! @echo off ! rem --------------------------------------------------------------------------- ! rem nicec.bat - a nice compiler batch file ! rem ! rem Environment Variariable Prerequisites: ! rem ! rem NICE - the root directory where nice is installed ! rem --------------------------------------------------------------------------- ! ! ! rem -- do we have a nice environment variable? ! for %%x in (%NICE%) do goto gotNiceEnvVar ! ! rem -- try some standard places ! ! set NICEPATH=c:\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH="c:\Program Files\nice" ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=c:\programs\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=d:\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH="d:\Program Files\nice" ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=d:\programs\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! goto error ! ! :envError ! echo Could not find the file: %NICE%\nice.jar ! echo The NICE environment variable is not pointing to the right directory! ! ! :error ! echo You must set the NICE environment variable to point to the directory you've installed nice in e.g. ! echo set NICE=C:\programs\nice echo (note: do not add a ';' at the end) ! echo You can do it by modifying Autoexec.bat or in the system settings. ! goto end ! ! :gotNiceEnvVar ! if not exist %NICE%\nice.jar goto envError ! set NICEPATH=%NICE% ! ! :gotNice ! java -classpath %NICEPATH%\nice.jar;%CLASSPATH% nice.tools.compiler.console.fun --runtime=%NICEPATH%\nice.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! :end ! rem -- clean up a bit ! set NICEPATH= \ No newline at end of file --- 1,61 ---- ! @echo off ! rem --------------------------------------------------------------------------- ! rem nicec.bat - a nice compiler batch file ! rem ! rem Environment Variariable Prerequisites: ! rem ! rem NICE - the root directory where nice is installed ! rem --------------------------------------------------------------------------- ! ! ! rem -- do we have a nice environment variable? ! for %%x in (%NICE%) do goto gotNiceEnvVar ! ! rem -- try some standard places ! ! set NICEPATH=c:\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH="c:\Program Files\nice" ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=c:\programs\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=d:\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH="d:\Program Files\nice" ! if exist %NICEPATH%\nice.jar goto gotNice ! ! set NICEPATH=d:\programs\nice ! if exist %NICEPATH%\nice.jar goto gotNice ! ! goto error ! ! :envError ! echo Could not find the file: %NICE%\nice.jar ! echo The NICE environment variable is not pointing to the right directory! ! ! :error ! echo You must set the NICE environment variable to point to the directory you've installed nice in e.g. ! echo set NICE=C:\programs\nice echo (note: do not add a ';' at the end) ! echo You can do it by modifying Autoexec.bat or in the system settings. ! goto end ! ! :gotNiceEnvVar ! if not exist %NICE%\nice.jar goto envError ! set NICEPATH=%NICE% ! ! :gotNice ! java -classpath %NICEPATH%\nice.jar;%CLASSPATH% nice.tools.compiler.console.fun --runtime=%NICEPATH%\nice.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! :end ! rem -- clean up a bit ! set NICEPATH= ! ! rem Setting for Emacs so that it will treat the file as a DOS file whatever ! rem OS it is running on. Please keep this. ! rem Local variables: ! rem coding:dos ! rem End: |