aboutsummaryrefslogtreecommitdiff
path: root/buildScripts
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-12-21 14:18:02 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-12-21 14:18:02 +0100
commitb829c0f8f1f1bf781fe3e9c093721f20c1cb2881 (patch)
tree6d62683af0b8f388a9315ca04f1aab865de6d49d /buildScripts
parenta12675e120cf6c1924f46a48089d65ebe703b0d7 (diff)
downloadlombok-b829c0f8f1f1bf781fe3e9c093721f20c1cb2881.tar.gz
lombok-b829c0f8f1f1bf781fe3e9c093721f20c1cb2881.tar.bz2
lombok-b829c0f8f1f1bf781fe3e9c093721f20c1cb2881.zip
Fixed the changelog.html generation to be a full HTML file and not an HTML snippet.
Diffstat (limited to 'buildScripts')
-rw-r--r--buildScripts/website.ant.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml
index 13a8ff18..3af84f45 100644
--- a/buildScripts/website.ant.xml
+++ b/buildScripts/website.ant.xml
@@ -263,7 +263,7 @@ such as converting the changelog into HTML, and creating javadoc.
<target name="changelogToHtml" depends="-compile-webclasses">
<mkdir dir="build/website" />
<property name="CHANGELOG_FILE" location="doc/changelog.markdown" />
- <property name="CHANGELOG_HTML" location="build/website/changelog.html" />
+ <property name="CHANGELOG_HTML" location="build/website/changelog-raw.html" />
<java fork="true" classname="lombok.website.CompileChangelog" failonerror="true">
<classpath>
<path refid="buildScripts.deps.path" />
@@ -272,6 +272,18 @@ such as converting the changelog into HTML, and creating javadoc.
<arg value="${CHANGELOG_FILE}" />
<arg value="${CHANGELOG_HTML}" />
</java>
+ <loadfile property="changelog.main" srcFile="build/website/changelog-raw.html" />
+ <delete file="build/website/changelog-raw.html" />
+ <copy todir="build/website" overwrite="true">
+ <fileset dir="website">
+ <include name="changelog.html" />
+ </fileset>
+ <filterchain>
+ <replacetokens>
+ <token key="CHANGELOG" value="${changelog.main}" />
+ </replacetokens>
+ </filterchain>
+ </copy>
</target>
<target name="javadoc" description="Generates the javadoc" depends="version">