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