summarylogtreecommitdiffstats
path: root/build.patch
blob: abe2ab932c55958f1fa8178f29c1a85c6e163700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# make an own build.xml because the sources do not contain all build files
Index: chatty-0.7.1/build.xml
===================================================================
--- /dev/null
+++ chatty-0.7.1/build.xml
@@ -0,0 +1,29 @@
+<project name="chatty" default="jar">
+  <target name="clean">
+    <delete dir="bin"/>
+    <delete dir="dist"/>
+    <delete dir="lib/dlls"/>
+  </target>
+
+  <target name="compile" depends="clean">
+     <mkdir dir="bin"/>
+     <javac srcdir="src/chatty" encoding="utf-8" destdir="bin">
+        <classpath>
+           <fileset dir="lib">
+              <include name="**/*.jar" />
+           </fileset>
+        </classpath>
+     </javac>
+     <copy  todir="bin">
+       <fileset dir="src" excludes="**/*.java"/>
+     </copy>
+  </target>
+
+  <target name="jar" depends="compile">
+     <mkdir dir="dist"/>
+     <jar manifest="manifest.mf" destfile="dist/chatty.jar">
+        <fileset dir="bin" />
+        <zipgroupfileset dir="lib" />
+     </jar>
+  </target>
+</project>