Browse Source

svn changeset:88/svn branch:toolkit

tags/6.7.0.beta1
Joonas Lehtinen 17 years ago
parent
commit
64609a87cd
3 changed files with 21 additions and 2 deletions
  1. 1
    1
      build/VERSION
  2. 18
    1
      build/build.xml
  3. 2
    0
      build/html-style.properties

+ 1
- 1
build/VERSION View File

@@ -1 +1 @@
version=4.0-alpha-20061020
version=4.0-alpha-20061020-3

+ 18
- 1
build/build.xml View File

@@ -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 - - - - - - - - - - - - - - - - - - - - - - - - - -->

+ 2
- 0
build/html-style.properties View File

@@ -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>

Loading…
Cancel
Save