From 53f6c7a4f3543ebc241d321af7b0f86f94831f22 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Paour Date: Wed, 21 Aug 2002 18:40:39 +0000 Subject: [PATCH] Now using -source 1.3 flag to support pre-1.3 VMs (good flag name BTW!) --- make.bat | 6 ++++-- make.sh | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/make.bat b/make.bat index 92666a8..2e91112 100755 --- a/make.bat +++ b/make.bat @@ -5,11 +5,13 @@ set CLASSPATH=. goto make_%1% :make_ -javac com/gallery/GalleryRemote/GalleryRemote.java +rem Remove -source 1.3 if you are using a pre-1.4 VM +javac -source 1.3 com/gallery/GalleryRemote/GalleryRemote.java goto :EOF :make_all -javac com/gallery/GalleryRemote/*.java HTTPClient/*.java +rem Remove -source 1.3 if you are using a pre-1.4 VM +javac -source 1.3 com/gallery/GalleryRemote/*.java HTTPClient/*.java goto :EOF :make_clean diff --git a/make.sh b/make.sh index 3fb8a33..e0c96a1 100644 --- a/make.sh +++ b/make.sh @@ -2,12 +2,14 @@ export CLASSPATH=. make_() { - javac com/gallery/GalleryRemote/GalleryRemote.java; + # Remove -source 1.3 if you are using a pre-1.4 VM + javac -source 1.3 com/gallery/GalleryRemote/GalleryRemote.java; } make_all() { - javac com/gallery/GalleryRemote/*.java HTTPClient/*.java; + # Remove -source 1.3 if you are using a pre-1.4 VM + javac -source 1.3 com/gallery/GalleryRemote/*.java HTTPClient/*.java; } make_clean()