Sam, you can't add the current directory there in gen.sh. You need to add it in the cygpath sections... if test "$OSTYPE" = "cygwin32" -o "$OSTYPE" = "cygwin"; then test -z "$1" && export SOURCE=`hostname`.xml export CLASSPATH=`cygpath --path --unix "$CLASSPATH"` export CLASSPATH=.:$XALAN/bin/xerces.jar:$XALAN/bin/xalan.jar:$CLASSPATH export CLASSPATH=`cygpath --path --windows "$CLASSPATH"` else export CLASSPATH=.:$XALAN/bin/xerces.jar:$XALAN/bin/xalan.jar:$CLASSPATH test -z "$1" && export SOURCE=`hostname -s`.xml fi Sorry I can't add this directly - I'm at work so no commit access (they won't let me ssh through the firewall). > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 23 April 2001 4:01 pm > To: [EMAIL PROTECTED] > Subject: 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: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > ======================================================================= Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
