aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 9fbe4987..7edc7c6e 100644
--- a/build.xml
+++ b/build.xml
@@ -55,7 +55,21 @@
<delete dir="dist" quiet="true" />
</target>
- <target name="website" description="Prepares the website for distribution" depends="javadoc, changelogToHtml">
+ <target name="-website-clean">
+ <delete dir="build/website" quiet="true" />
+ </target>
+
+ <target name="website" description="Prepares the website for distribution" depends="-website-main, -website-videos" />
+ <target name="website-novideo" description="Prepares the website for distribution, but does not add the videos to the zip." depends="-website-main" />
+
+ <target name="-website-videos" depends="-website-clean">
+ <mkdir dir="build/website/videos" />
+ <copy todir="build/website/videos">
+ <fileset dir="website/videos" />
+ </copy>
+ </target>
+
+ <target name="-website-main" depends="-website-clean, javadoc, changelogToHtml">
<taskdef classpath="deps/website/java2html.jar" name="java2html" classname="de.java2html.anttasks.Java2HtmlTask" />
<mkdir dir="build/website" />
<copy todir="build/website">
@@ -66,12 +80,19 @@
<exclude name="**/*.ai" />
<exclude name="**/publish" />
<exclude name="**/*unused*" />
+ <exclude name="videos/**" />
</fileset>
</copy>
<antcall target="-integrateSnippet">
<param name="transformationName" value="GetterSetter" />
</antcall>
<antcall target="-integrateSnippet">
+ <param name="transformationName" value="ToString" />
+ </antcall>
+ <antcall target="-integrateSnippet">
+ <param name="transformationName" value="EqualsAndHashCode" />
+ </antcall>
+ <antcall target="-integrateSnippet">
<param name="transformationName" value="Data" />
</antcall>
<antcall target="-integrateSnippet">