2011-05-02 20:10:49 +02:00
|
|
|
<?xml version="1.0"?>
|
2013-02-12 12:54:04 +01:00
|
|
|
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
2011-05-02 20:10:49 +02:00
|
|
|
|
|
|
|
<property name="current-loc" location="." />
|
|
|
|
<property name="workspace" location=".." />
|
|
|
|
<property name="htmldir" value="${current-loc}/doc/html" />
|
|
|
|
<property name="docbookdir" value="C:\JAVA-DEV\docbook-xsl-ns-1.76.1\html\" />
|
2013-02-12 12:54:04 +01:00
|
|
|
<property name="docbooksource" value="${current-loc}/doc" />
|
2011-05-02 20:10:49 +02:00
|
|
|
<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
|
|
|
|
|
2013-02-12 12:54:04 +01:00
|
|
|
|
2011-05-02 20:10:49 +02:00
|
|
|
<!-- XSLT Chunking Properties -->
|
2013-02-12 12:54:04 +01:00
|
|
|
<property name="base.dir" value="${htmldir}" />
|
|
|
|
|
2011-05-02 20:10:49 +02:00
|
|
|
<target name="merge">
|
2013-11-26 21:30:39 +01:00
|
|
|
<!-- XInclude support comes with Eclipse XML Tools Project,
|
|
|
|
the Ant target needs to be executed in the Eclispe Workspace JRE
|
|
|
|
in order to get found. Any custom project specific runtime
|
|
|
|
may not work.
|
|
|
|
-->
|
2013-02-12 12:54:04 +01:00
|
|
|
<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml" out="${docbooksource}/BruteXServices_User_Guide.dbk" />
|
2011-05-02 20:10:49 +02:00
|
|
|
</target>
|
2013-02-12 12:54:04 +01:00
|
|
|
|
2011-05-02 20:10:49 +02:00
|
|
|
<target name="clean-doc">
|
|
|
|
<delete dir="${htmldir}" />
|
2013-02-12 12:54:04 +01:00
|
|
|
<mkdir dir="${htmldir}" />
|
2011-05-02 20:10:49 +02:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="create-doc" depends="clean-doc, merge">
|
|
|
|
|
2013-02-12 12:54:04 +01:00
|
|
|
<xslt force="true" style="${docbookdir}/../toHTML.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
|
2011-05-02 20:10:49 +02:00
|
|
|
<factory name="${xalan}" />
|
2013-02-12 12:54:04 +01:00
|
|
|
<param name="base.dir" expression="${htmldir}/" />
|
2011-05-02 20:10:49 +02:00
|
|
|
<param name="use.id.as.filename" expression="1" />
|
2014-06-15 09:50:25 +02:00
|
|
|
<param name="html.stylesheet" expression="style.css" />
|
2011-05-02 20:10:49 +02:00
|
|
|
</xslt>
|
2014-06-15 09:50:25 +02:00
|
|
|
<copy file="${docbooksource}/style.css" overwrite="true" tofile="${htmldir}/style.css" />
|
2011-05-02 20:10:49 +02:00
|
|
|
</target>
|
2013-02-12 12:54:04 +01:00
|
|
|
|
2012-01-23 19:54:01 +01:00
|
|
|
<target name="create-webdoc" depends="clean-doc, merge">
|
|
|
|
|
2013-02-12 12:54:04 +01:00
|
|
|
<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
|
2012-01-23 19:54:01 +01:00
|
|
|
<factory name="${xalan}" />
|
2013-02-12 12:54:04 +01:00
|
|
|
<param name="base.dir" expression="${htmldir}/" />
|
2012-01-23 19:54:01 +01:00
|
|
|
<param name="use.id.as.filename" expression="1" />
|
|
|
|
<param name="fop.extensions" expression="0" />
|
|
|
|
</xslt>
|
|
|
|
</target>
|
2011-05-02 20:10:49 +02:00
|
|
|
|
2013-02-12 12:54:04 +01:00
|
|
|
<!-- =================================
|
|
|
|
target: resolve
|
|
|
|
================================= -->
|
|
|
|
<target name="resolve" description="--> retrieve dependencies with ivy">
|
|
|
|
<ivy:retrieve />
|
|
|
|
</target>
|
|
|
|
|
2011-05-02 20:10:49 +02:00
|
|
|
</project>
|