You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2001/04/23 17:01:11 UTC
cvs commit: jakarta-alexandria/proposal/gump gen.bat gen.sh
rubys 01/04/23 08:01:10
Modified: proposal/gump gen.bat gen.sh
Log:
Ensure that the current working directory is in the classpath
Reported by: John Morrison
Revision Changes Path
1.5 +2 -2 jakarta-alexandria/proposal/gump/gen.bat
Index: gen.bat
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.bat,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gen.bat 2001/04/22 15:27:58 1.4
+++ gen.bat 2001/04/23 15:01:03 1.5
@@ -13,10 +13,10 @@
REM ********************************************************************
echo Merging projects into workspace
-javac gen.java
+javac -classpath .;%CLASSPATH% gen.java
if errorlevel 1 goto fail
echo.
-java gen %SOURCE%
+java -classpath .;%CLASSPATH% gen %SOURCE%
if not errorlevel 0 goto fail
REM ********************************************************************
1.8 +2 -2 jakarta-alexandria/proposal/gump/gen.sh
Index: gen.sh
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/gen.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gen.sh 2001/04/22 15:33:00 1.7
+++ gen.sh 2001/04/23 15:01:04 1.8
@@ -28,9 +28,9 @@
# ********************************************************************
echo Merging projects into workspace
-javac gen.java || export FAIL=1
+javac -classpath .:$CLASSPATH gen.java || export FAIL=1
echo
-java gen $SOURCE || export FAIL=1
+java -classpath .:$CLASSPATH gen $SOURCE || export FAIL=1
# ********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org