diff options
author | Holger Zickner <[email protected]> | 2004-09-19 12:49:45 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-09-19 12:49:45 +0000 |
commit | 1c1d51f84701813daa86ec4f7aa1df97a5ce09c1 (patch) | |
tree | 9a818528ec5f5b8fd7b0ff8ed805f4f520f32957 | |
parent | 1fec7fd8d0471c3927a896b5619d6af834ae88dd (diff) |
add resources to jake2.jar
-rw-r--r-- | build.xml | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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"> |