aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2006-10-20 15:49:16 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2006-10-20 15:49:16 +0000
commit64609a87cd862d80b01e3d3a19eb05be22036590 (patch)
treeb4222c7f69f33ffc7de4d91b91583a9caf1412c7
parent348494717153403ee174bf2c6f5438c0918b350d (diff)
downloadvaadin-framework-64609a87cd862d80b01e3d3a19eb05be22036590.tar.gz
vaadin-framework-64609a87cd862d80b01e3d3a19eb05be22036590.zip
svn changeset:88/svn branch:toolkit
-rw-r--r--build/VERSION2
-rw-r--r--build/build.xml19
-rw-r--r--build/html-style.properties2
3 files changed, 21 insertions, 2 deletions
diff --git a/build/VERSION b/build/VERSION
index 37650c1870..cca5106c25 100644
--- a/build/VERSION
+++ b/build/VERSION
@@ -1 +1 @@
-version=4.0-alpha-20061020
+version=4.0-alpha-20061020-3
diff --git a/build/build.xml b/build/build.xml
index 286571ac87..a6d88031f2 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -15,6 +15,10 @@
<property name="product-name" value="Enably Toolkit" />
<property name="toolkit-package" value="com/enably/tk" />
+ <property file="build/html-style.properties" />
+ <property name="html.body.tag" value="&lt;body>" />
+ <property name="html.body.endtag" value="&lt;/body>" />
+
<!-- Destination files -->
<property name="package-file-name" value="${product-file}-${version}.zip" />
<property name="lib-bin-jar-name" value="${product-file}-${version}.jar" />
@@ -143,6 +147,10 @@
<copy todir="${output-dir}">
<filterchain>
<expandproperties />
+ <replacetokens begintoken="&lt;" endtoken=">">
+ <token key="body" value="${html.body.tag}${html.body.start}" />
+ <token key="/body" value="${html.body.end}${html.body.endtag}" />
+ </replacetokens>
</filterchain>
<fileset dir="">
<include name="*.html" />
@@ -199,6 +207,14 @@
</target>
<target name="manual-html" depends="init">
+<copy file="build/docbook/conf/custom-html-docbook.xsl" tofile="build/docbook/conf/temp.xsl">
+ <filterchain>
+ <replacetokens>
+ <token key="BODYHEADER" value="${html.body.start}" />
+ <token key="BODYFOOTER" value="${html.body.end}" />
+ </replacetokens>
+ </filterchain>
+</copy>
<path id="docbook-xsl.classpath">
<pathelement path="build/lib/fop-0.92/serializer-2.7.0.jar" />
<pathelement path="build/lib/fop-0.92/xalan-2.7.0.jar" />
@@ -209,7 +225,7 @@
<arg value="-in" />
<arg value="doc/manual/book.xml" />
<arg value="-xsl" />
- <arg value="build/docbook/conf/custom-html-docbook.xsl" />
+ <arg value="build/docbook/conf/temp.xsl" />
<arg value="-out" />
<arg value="${output-dir}/doc/manual/index.html" />
<arg value="-param" />
@@ -217,6 +233,7 @@
<arg value="1" />
<classpath refid="docbook-xsl.classpath" />
</java>
+<delete file="build/docbook/conf/temp.xsl" />
</target>
<!-- ZIP Package creation - - - - - - - - - - - - - - - - - - - - - - - - - -->
diff --git a/build/html-style.properties b/build/html-style.properties
new file mode 100644
index 0000000000..6fc9012e74
--- /dev/null
+++ b/build/html-style.properties
@@ -0,0 +1,2 @@
+html.body.start=<table border="0" width="100%"><tr><td style="padding-left: 10px;"><div id="enablylogo"/></td><td align="right" style="padding-right: 10px; font-size: 14pt; font-weight: bold;"><script type="text/javascript">document.write(document.title);</script></td></tr></table><div id="page">
+html.body.end=<span style="float: right; color: #444444;">Version: ${version}</span></div><div id="footer">(c) Oy IT Mill Ltd, 2000-2006</div> \ No newline at end of file