Create proper jar generation project
This commit is contained in:
parent
b203727aae
commit
f59629cc29
4
META-INF/MANIFEST.MF
Normal file
4
META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,4 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: sig.PolygonFill
|
||||
Created-By: 11.0.13 (Azul Systems, Inc.)
|
||||
|
BIN
PolygonFill.jar
Normal file
BIN
PolygonFill.jar
Normal file
Binary file not shown.
BIN
bin/PolygonFill.jar
Normal file
BIN
bin/PolygonFill.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15
run
Executable file
15
run
Executable file
@ -0,0 +1,15 @@
|
||||
PROGRAM_NAME="PolygonFill"
|
||||
MAIN_CLASS="sig.PolygonFill"
|
||||
|
||||
rm -Rf bin/*
|
||||
javac -Xlint:unchecked -cp src -d bin src/sig/${PROGRAM_NAME}.java
|
||||
printf "\n\n\nGenerating Manifest...\n\n"
|
||||
touch manifest
|
||||
echo "Main-Class: ${MAIN_CLASS}" >> manifest
|
||||
printf "\n\n\nCreating Jar...\n\n"
|
||||
cd bin
|
||||
jar cfm ${PROGRAM_NAME}.jar ../manifest sig
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
java -jar ${PROGRAM_NAME}.jar
|
||||
cd ..
|
||||
./clean
|
Loading…
x
Reference in New Issue
Block a user