Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unix make and run scripts.
- Loading branch information
Pierre-Luc Paour
committed
Aug 18, 2002
1 parent
62d3935
commit 314cefa
Showing
3 changed files
with
65 additions
and
4 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
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,58 @@ | ||
export CLASSPATH=. | ||
|
||
make_() | ||
{ | ||
javac com/gallery/GalleryRemote/GalleryRemote.java; | ||
} | ||
|
||
make_all() | ||
{ | ||
javac com/gallery/GalleryRemote/*.java HTTPClient/*.java; | ||
} | ||
|
||
make_clean() | ||
{ | ||
rm -rf *.class; | ||
} | ||
|
||
make_jar() | ||
{ | ||
make_all; | ||
jar cvf GalleryRemote.jar com HTTPClient; | ||
} | ||
|
||
make_clean_jar() | ||
{ | ||
make_all; | ||
jar cvf GalleryRemote.jar com/gallery/GalleryRemote/*.class com/gallery/GalleryRemote/model/*.class HTTPClient/*.class; | ||
} | ||
|
||
make_zip() | ||
{ | ||
make_clean_jar; | ||
zip -0 gallery_remote.zip GalleryRemote.jar default.gif ChangeLog defaults.properties run.bat run.sh; | ||
} | ||
|
||
make_source_zip() | ||
{ | ||
make_jar; | ||
zip -0 gallery_remote.zip GalleryRemote.jar default.gif ChangeLog defaults.properties run.bat run.sh; | ||
} | ||
|
||
make_cvsbuild() | ||
{ | ||
rem For this to work unattended, the cvs must be checked out with the read-only account-less method | ||
cvs update; | ||
make_zip; | ||
} | ||
|
||
case $1 in | ||
all) make_all;; | ||
clean) make_clean;; | ||
jar) make_jar;; | ||
clean_jar) make_clean_jar;; | ||
zip) make_zip;; | ||
source_zip) make_source_zip;; | ||
cvsbuild) make_cvsbuild;; | ||
*) make_;; | ||
esac |
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,3 @@ | ||
export CLASSPATH=. | ||
|
||
java com.gallery.GalleryRemote.GalleryRemote |