commit | author | age
|
4d16fb
|
1 |
#!/bin/sh |
U |
2 |
|
|
3 |
|
|
4 |
# Tango Build Script |
|
5 |
|
|
6 |
|
|
7 |
# die folgenden Pfadangaben vor Ausfuehrung anpassen.. |
|
8 |
JDK=/pfad/zum/jdk |
|
9 |
TANGO=/pfad/zu/tango |
|
10 |
JLIB=/pfad/zu/libs |
|
11 |
|
|
12 |
# ab hier beginnt der Bau |
|
13 |
cd $TANGO |
|
14 |
mkdir classes |
|
15 |
mkdir -p dist/lib |
|
16 |
cp $JLIB/jid3lib-0.5.4.jar dist/lib |
|
17 |
cp $JLIB/gson-2.8.6.jar dist/lib |
|
18 |
cp src/*.properties classes |
|
19 |
$JDK/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 |
|
20 |
$JDK/jar -cfm dist/tango.jar publish/manifest.mf -C classes . |
|
21 |
cp -r www dist |
|
22 |
|