aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-28 18:32:07 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-28 18:32:07 +0200
commit2781b8592b526beddef6158b756b19e2194c30d0 (patch)
tree2d1ae1773cc4579c2b0c7b43f26ec9522dbf58ba
parent7068db574ee40cc9df2fffbeef1078bf0569bbcf (diff)
downloadlombok-2781b8592b526beddef6158b756b19e2194c30d0.tar.gz
lombok-2781b8592b526beddef6158b756b19e2194c30d0.tar.bz2
lombok-2781b8592b526beddef6158b756b19e2194c30d0.zip
bugfix in the build.xml file - "ant website" would not add the videos to the built .tar.bz2 file. Now it does. (use ant website-novideo to skip adding the videos, which reduces the upload from 18M to 1.4M).
-rw-r--r--build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 9a738450..e9c5a638 100644
--- a/build.xml
+++ b/build.xml
@@ -59,8 +59,8 @@
<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" description="Prepares the website for distribution" depends="-website-main, -website-videos, -website-dist" />
+ <target name="website-novideo" description="Prepares the website for distribution, but does not add the videos to the zip." depends="-website-main, -website-dist" />
<target name="-website-videos" depends="-website-clean">
<mkdir dir="build/website/videos" />
@@ -116,6 +116,9 @@
<param name="transformationName" value="SneakyThrows" />
</antcall>
<mkdir dir="dist" />
+ </target>
+
+ <target name="-website-dist">
<tar destfile="dist/website.tar.bz2" compression="bzip2">
<tarfileset dir="build/website" />
<tarfileset dir="doc/api" prefix="api" />