62 |
brianR |
1 |
<?xml version="1.0"?>
|
137 |
brianR |
2 |
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
62 |
brianR |
3 |
|
|
|
4 |
<property name="current-loc" location="." />
|
|
|
5 |
<property name="workspace" location=".." />
|
|
|
6 |
<property name="htmldir" value="${current-loc}/doc/html" />
|
|
|
7 |
<property name="docbookdir" value="C:\JAVA-DEV\docbook-xsl-ns-1.76.1\html\" />
|
137 |
brianR |
8 |
<property name="docbooksource" value="${current-loc}/doc" />
|
62 |
brianR |
9 |
<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
|
|
|
10 |
|
137 |
brianR |
11 |
|
62 |
brianR |
12 |
<!-- XSLT Chunking Properties -->
|
137 |
brianR |
13 |
<property name="base.dir" value="${htmldir}" />
|
|
|
14 |
|
62 |
brianR |
15 |
<target name="merge">
|
137 |
brianR |
16 |
<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml" out="${docbooksource}/BruteXServices_User_Guide.dbk" />
|
62 |
brianR |
17 |
</target>
|
137 |
brianR |
18 |
|
62 |
brianR |
19 |
<target name="clean-doc">
|
|
|
20 |
<delete dir="${htmldir}" />
|
137 |
brianR |
21 |
<mkdir dir="${htmldir}" />
|
62 |
brianR |
22 |
</target>
|
|
|
23 |
|
|
|
24 |
<target name="create-doc" depends="clean-doc, merge">
|
|
|
25 |
|
137 |
brianR |
26 |
<xslt force="true" style="${docbookdir}/../toHTML.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
|
62 |
brianR |
27 |
<factory name="${xalan}" />
|
137 |
brianR |
28 |
<param name="base.dir" expression="${htmldir}/" />
|
62 |
brianR |
29 |
<param name="use.id.as.filename" expression="1" />
|
|
|
30 |
</xslt>
|
|
|
31 |
</target>
|
137 |
brianR |
32 |
|
83 |
brianR |
33 |
<target name="create-webdoc" depends="clean-doc, merge">
|
62 |
brianR |
34 |
|
137 |
brianR |
35 |
<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
|
83 |
brianR |
36 |
<factory name="${xalan}" />
|
137 |
brianR |
37 |
<param name="base.dir" expression="${htmldir}/" />
|
83 |
brianR |
38 |
<param name="use.id.as.filename" expression="1" />
|
|
|
39 |
<param name="fop.extensions" expression="0" />
|
|
|
40 |
</xslt>
|
|
|
41 |
</target>
|
|
|
42 |
|
137 |
brianR |
43 |
<!-- =================================
|
|
|
44 |
target: resolve
|
|
|
45 |
================================= -->
|
|
|
46 |
<target name="resolve" description="--> retrieve dependencies with ivy">
|
|
|
47 |
<ivy:retrieve />
|
|
|
48 |
</target>
|
|
|
49 |
|
62 |
brianR |
50 |
</project>
|