Persoenliche Mediazentrale
ulrich
2024-11-22 0bdb112dcff891a85f076774f472a244c68dcbad
Buildscript angepasst
1 files added
1 files modified
13 ■■■■ changed files
README.md 10 ●●●● patch | view | raw | blame | history
publish/manifest.mf 3 ●●●●● patch | view | raw | blame | history
README.md
@@ -31,9 +31,13 @@
```
cd $TANGO
mkdir classes
mkdir dist
$JDK/bin/javac -classpath $JLIB/gson-2.8.6.jar:$JLIB/jid3lib-0.5.4.jar -d classes src/de/uhilger/tango/*.java src/de/uhilger/tango/api/*.java src/de/uhilger/tango/entity/*.java src/de/uhilger/tango/store/*.java
$JDK/bin/jar -cf dist/tango.jar -C classes .
mkdir -p dist/lib
cp $JLIB/jid3lib-0.5.4.jar dist/lib
cp $JLIB/gson-2.8.6.jar dist/lib
cp src/*.properties classes
javac -classpath $JLIB/gson-2.8.6.jar:$JLIB/jid3lib-0.5.4.jar -d classes src/de/uhilger/tango/*.java src/de/uhilger/tango/api/*.java src/de/uhilger/tango/entity/*.java src/de/uhilger/tango/store/*.java
jar -cfm dist/tango.jar publish/manifest.mf -C classes .
cp -r www dist
```
Die fertig verwendbare Anwendung liegt anschließend unter `$TANGO/dist/tango.jar` mit den erforderlichen Klassenbibliotheken im Ordner `$TANGO/dist/lib` .
publish/manifest.mf
New file
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: de.uhilger.tango.App
Class-Path: lib/gson-2.8.6.jar lib/jid3lib-0.5.4.jar