summaryrefslogtreecommitdiffstats
path: root/app-text/jing/files/build-r1.xml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-24 02:09:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-24 02:09:32 +0200
commitdd2aea324c07fe1bd13143bb37eff11117b6130a (patch)
tree771ed8c8b9b1eb2f02b5843363eed86839ed6e5a /app-text/jing/files/build-r1.xml
parent576b6208d6defe240bfa2477d6dd19f1ed83bfaf (diff)
downloaddarklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.gz
darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.bz2
darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.tar.xz
darklin4-dd2aea324c07fe1bd13143bb37eff11117b6130a.zip
Dice(kiwi) and dependencies; kiwi and dependecies (still missing zypper)
Diffstat (limited to 'app-text/jing/files/build-r1.xml')
-rw-r--r--app-text/jing/files/build-r1.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-text/jing/files/build-r1.xml b/app-text/jing/files/build-r1.xml
new file mode 100644
index 0000000..8de4f9a
--- /dev/null
+++ b/app-text/jing/files/build-r1.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+
+<project name="jing" default="jar">
+ <!-- compiles the sources -->
+ <target name="compile">
+ <mkdir dir="build" />
+
+ <javac srcdir="src"
+ destdir="build"
+ source="1.4">
+ <classpath>
+ <fileset dir="bin" includes="*.jar"/>
+ </classpath>
+ </javac>
+
+ <!-- we need the *.properties at the correct
+ position in the jar archive! -->
+ <copy todir="build">
+ <fileset dir="src">
+ <include name="**/*.properties" />
+ </fileset>
+ </copy>
+ <copy todir="build/META-INF">
+ <fileset dir="src/META-INF" />
+ </copy>
+ </target>
+
+ <!-- create the jar archive -->
+ <target name="jar" depends="compile">
+ <jar jarfile="bin/jing.jar"
+ basedir="build">
+ </jar>
+ </target>
+</project>