diff options
author | pacien | 2018-01-14 23:23:24 +0100 |
---|---|---|
committer | pacien | 2018-01-14 23:23:24 +0100 |
commit | a8960e1ad9139c04da1faf44e5990a81bc57edf1 (patch) | |
tree | cfcc37d610d1ca4efa65d11e06a37e3ea6efb040 /build.xml | |
parent | 9e634b7422058bded1144356f2c96b26a2eafa0f (diff) | |
download | wallj-a8960e1ad9139c04da1faf44e5990a81bc57edf1.tar.gz |
Include tests in zip
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,7 +3,8 @@ | |||
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.javasrc" value="${dir.src}/main/java"/> | 6 | <property name="dir.javasrc" value="${dir.src}/main"/> |
7 | <property name="dir.testsrc" value="${dir.src}/test"/> | ||
7 | <property name="dir.docsrc" value="${dir.src}/docs"/> | 8 | <property name="dir.docsrc" value="${dir.src}/docs"/> |
8 | <property name="dir.classes" value="classes"/> | 9 | <property name="dir.classes" value="classes"/> |
9 | <property name="dir.docs" value="docs"/> | 10 | <property name="dir.docs" value="docs"/> |
@@ -43,7 +44,7 @@ | |||
43 | 44 | ||
44 | <target name="javadoc"> | 45 | <target name="javadoc"> |
45 | <mkdir dir="${dir.apidoc}"/> | 46 | <mkdir dir="${dir.apidoc}"/> |
46 | <javadoc sourcepath="${dir.javasrc}" destdir="${dir.apidoc}"/> | 47 | <javadoc sourcepath="${dir.javasrc}/java" destdir="${dir.apidoc}"/> |
47 | </target> | 48 | </target> |
48 | 49 | ||
49 | <target name="docs"> | 50 | <target name="docs"> |
@@ -69,7 +70,8 @@ | |||
69 | <zipfileset dir="." excludes="**/*" prefix="${dir.zipsubdir}/${dir.classes}"/> | 70 | <zipfileset dir="." excludes="**/*" prefix="${dir.zipsubdir}/${dir.classes}"/> |
70 | 71 | ||
71 | <zipfileset dir="${dir.lib}" includes="*.jar" prefix="${dir.zipsubdir}/${dir.lib}"/> | 72 | <zipfileset dir="${dir.lib}" includes="*.jar" prefix="${dir.zipsubdir}/${dir.lib}"/> |
72 | <zipfileset dir="${dir.javasrc}" includes="**/*.java" prefix="${dir.zipsubdir}/${dir.javasrc}"/> | 73 | <zipfileset dir="${dir.javasrc}" includes="**/*" prefix="${dir.zipsubdir}/${dir.javasrc}"/> |
74 | <zipfileset dir="${dir.testsrc}" includes="**/*" prefix="${dir.zipsubdir}/${dir.testsrc}"/> | ||
73 | <zipfileset dir="${dir.docs}" includes="*.pdf" prefix="${dir.zipsubdir}/${dir.docs}"/> | 75 | <zipfileset dir="${dir.docs}" includes="*.pdf" prefix="${dir.zipsubdir}/${dir.docs}"/> |
74 | <zipfileset dir="${dir.docs}" includes="*.puml" prefix="${dir.zipsubdir}/${dir.docs}"/> | 76 | <zipfileset dir="${dir.docs}" includes="*.puml" prefix="${dir.zipsubdir}/${dir.docs}"/> |
75 | 77 | ||