Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Windows command-line batch files to build and run GR.
- Loading branch information
Pierre-Luc Paour
committed
Jul 30, 2002
1 parent
6ff3a94
commit 8ddeec0
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@echo off | ||
|
||
set CLASSPATH=. | ||
|
||
goto make_%1% | ||
|
||
:make_ | ||
javac com/gallery/GalleryRemote/GalleryRemote.java | ||
goto :EOF | ||
|
||
:make_all | ||
javac com/gallery/GalleryRemote/*.java HTTPClient/*.java | ||
goto :EOF | ||
|
||
:make_clean | ||
del /S *.class | ||
goto :EOF | ||
|
||
:make_jar | ||
call :make_all | ||
jar cvf GalleryRemote.jar com HTTPClient | ||
goto :EOF | ||
|
||
:make_clean_jar | ||
call :make_all | ||
jar cvf GalleryRemote.jar com/gallery/GalleryRemote/*.class HTTPClient/*.class | ||
goto :EOF | ||
|
||
:make_zip | ||
call :make_clean_jar | ||
zip -0 gallery_remote.zip GalleryRemote.jar default.gif | ||
goto :EOF | ||
|
||
:make_source_zip | ||
call :make_jar | ||
rem zip -0 gallery_remote.zip GalleryRemote.jar default.gif (for info-zip) | ||
rem pkzip -e0 gallery_remote.zip GalleryRemote.jar default.gif (for pkzip) | ||
zip -0 gallery_remote.zip GalleryRemote.jar default.gif | ||
goto :EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@echo off | ||
|
||
set CLASSPATH=. | ||
|
||
java com.gallery.GalleryRemote.GalleryRemote |