aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-09-19 12:49:45 +0000
committerHolger Zickner <[email protected]>2004-09-19 12:49:45 +0000
commit1c1d51f84701813daa86ec4f7aa1df97a5ce09c1 (patch)
tree9a818528ec5f5b8fd7b0ff8ed805f4f520f32957
parent1fec7fd8d0471c3927a896b5619d6af834ae88dd (diff)
add resources to jake2.jar
-rw-r--r--build.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 98f8034..79d4b70 100644
--- a/build.xml
+++ b/build.xml
@@ -47,7 +47,16 @@
<classpath refid="build.class.path"/>
</javac>
</target>
-
+
+ <!-- copy resources -->
+ <target name="copyres" depends="init">
+ <copy todir="${build}">
+ <fileset dir="resources">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ </target>
+
<!-- copy files -->
<target name="copy">
<copy todir="${dist}/lib">
@@ -98,9 +107,9 @@
</target>
<!-- jar -->
- <target name="jar" depends="compile">
+ <target name="jar" depends="compile,copyres">
<jar destfile="${dist}/lib/jake.jar" basedir="${build}">
- <include name="jake2/**"/>
+ <include name="**"/>
</jar>
<proguard printseeds="on" printusage="off" outjar="${dist}/lib/jake2.jar"
defaultpackage="" overloadaggressively="off">