diff options
author | pacien | 2018-01-17 15:58:00 +0100 |
---|---|---|
committer | pacien | 2018-01-17 15:58:00 +0100 |
commit | b2300b7cbd8a6d06009bce39a80f014d8eaca798 (patch) | |
tree | d8bbc0647644b9088f8878538a1c4e2961d16e01 | |
parent | a8960e1ad9139c04da1faf44e5990a81bc57edf1 (diff) | |
download | wallj-b2300b7cbd8a6d06009bce39a80f014d8eaca798.tar.gz |
Add resources to generated jar
Signed-off-by: pacien <pacien.trangirard@pacien.net>
-rw-r--r-- | build.xml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ | |||
3 | <property name="dir.out" value="."/> | 3 | <property name="dir.out" value="."/> |
4 | <property name="dir.lib" value="lib"/> | 4 | <property name="dir.lib" value="lib"/> |
5 | <property name="dir.src" value="src"/> | 5 | <property name="dir.src" value="src"/> |
6 | <property name="dir.mainres" value="${dir.src}/main/resources"/> | ||
6 | <property name="dir.javasrc" value="${dir.src}/main"/> | 7 | <property name="dir.javasrc" value="${dir.src}/main"/> |
7 | <property name="dir.testsrc" value="${dir.src}/test"/> | 8 | <property name="dir.testsrc" value="${dir.src}/test"/> |
8 | <property name="dir.docsrc" value="${dir.src}/docs"/> | 9 | <property name="dir.docsrc" value="${dir.src}/docs"/> |
@@ -39,6 +40,7 @@ | |||
39 | <attribute name="Class-Path" value="${jar.classpath}"/> | 40 | <attribute name="Class-Path" value="${jar.classpath}"/> |
40 | </manifest> | 41 | </manifest> |
41 | <zipfileset prefix="${dir.lib}" dir="${dir.lib}" includes="*.jar"/> | 42 | <zipfileset prefix="${dir.lib}" dir="${dir.lib}" includes="*.jar"/> |
43 | <zipfileset prefix="" dir="${dir.mainres}" includes="**/*.txt"/> | ||
42 | </jar> | 44 | </jar> |
43 | </target> | 45 | </target> |
44 | 46 | ||