[Nice-commit] Nice/bin nicec.bat,1.9,1.10
Brought to you by:
bonniot
From: <bo...@us...> - 2003-05-29 21:10:18
|
Update of /cvsroot/nice/Nice/bin In directory sc8-pr-cvs1:/tmp/cvs-serv14250/bin Modified Files: nicec.bat Log Message: Put a version with dos style line-endings (it got converted to unix style at version 1.7). With unix endings, the bat cannot be run on windows (at least on win98). Add an emacs file variable, to force the coding to dos, in case it gets changed again. Index: nicec.bat =================================================================== RCS file: /cvsroot/nice/Nice/bin/nicec.bat,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** nicec.bat 13 May 2003 13:58:45 -0000 1.9 --- nicec.bat 29 May 2003 21:10:14 -0000 1.10 *************** *** 1,43 **** ! @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? ! if not "%NICE%" == "" goto gotNice ! ! rem -- try some standard places ! ! set NICE=c:\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=c:\Program Files\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=c:\programs\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\Program Files\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\programs\nice ! if exist %NICE%\nice.jar goto gotNice ! ! ! 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 ! ! :gotNice ! java -classpath %NICE%\nice.jar;%CLASSPATH% nice.tools.compiler.fun --runtime=%NICE%\nice.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! :end --- 1,47 ---- ! @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? ! if not "%NICE%" == "" goto gotNice ! ! rem -- try some standard places ! ! set NICE=c:\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=c:\Program Files\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=c:\programs\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\Program Files\nice ! if exist %NICE%\nice.jar goto gotNice ! ! set NICE=d:\programs\nice ! if exist %NICE%\nice.jar goto gotNice ! ! ! 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 ! ! :gotNice ! java -classpath %NICE%\nice.jar;%CLASSPATH% nice.tools.compiler.fun --runtime=%NICE%\nice.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! :end ! ! rem Local variables: ! rem coding:dos ! rem End: |