From 0bdb112dcff891a85f076774f472a244c68dcbad Mon Sep 17 00:00:00 2001 From: ulrich Date: Fri, 22 Nov 2024 18:13:05 +0000 Subject: [PATCH] Buildscript angepasst --- publish/manifest.mf | 3 +++ README.md | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f572832..608a90c 100644 --- a/README.md +++ b/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` . diff --git a/publish/manifest.mf b/publish/manifest.mf new file mode 100644 index 0000000..225a62d --- /dev/null +++ b/publish/manifest.mf @@ -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 -- Gitblit v1.9.3