Skip to content

Commit

Permalink
Now using -source 1.3 flag to support pre-1.3 VMs (good flag name BTW!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Luc Paour committed Aug 21, 2002
1 parent 6bbaf24 commit 53f6c7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions make.bat
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions make.sh
Expand Up @@ -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()
Expand Down

0 comments on commit 53f6c7a

Please sign in to comment.