Subversion Repositories XServices

Rev

Rev 173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 173 Rev 182
Line 1... Line 1...
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">
Line -... Line 3...
-
 
3
 
-
 
4
	<property name="toolsdir" location="C:/Users/brosenberger/JAVA-DEV/" />
-
 
5
		
3
 
6
		
Line 4... Line 7...
4
	<!-- C:\JAVA-DEV\apache-fop-1.1 -->
7
	<!-- C:\JAVA-DEV\apache-fop-1.1 -->
5
 
8
 
6
	<taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop">
9
	<taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop">
7
		<classpath>
10
		<classpath>
8
			<fileset dir="C:\\JAVA-DEV\\apache-fop-1.1">
11
			<fileset dir="${toolsdir}/fop-2.1">
9
				<include name="build/*.jar" />
12
				<include name="build/*.jar" />
10
				<include name="lib/*.jar" />
13
				<include name="lib/*.jar" />
11
			</fileset>
14
			</fileset>
Line 12... Line 15...
12
		</classpath>
15
		</classpath>
13
	</taskdef>
16
	</taskdef>
14
 
17
 
15
	<!-- External Syntax Higlighter for docbook xsl -->
18
	<!-- External Syntax Higlighter for docbook xsl -->
Line 16... Line 19...
16
	<path id="xslthl.path">
19
	<path id="xslthl.path">
17
		<pathelement location="C:\\JAVA-DEV\\xslthl-2.1.0\\xslthl-2.1.0.jar" />
20
		<pathelement location="${toolsdir}/xslthl-2.1.0/xslthl-2.1.0.jar" />
-
 
21
	</path>
18
	</path>
22
 
19
 
23
 
Line 20... Line 24...
20
 
24
	<property name="current-loc" location="." />
21
	<property name="current-loc" location="." />
25
	<property name="workspace" location=".." />
22
	<property name="workspace" location=".." />
26
 
23
	<property name="htmldir" value="${current-loc}/doc/html" />
27
	<property name="htmldir" value="${current-loc}/doc/html" />
Line 34... Line 38...
34
 
38
 
35
	<property name="docbooksource" value="${current-loc}/doc" />
39
	<property name="docbooksource" value="${current-loc}/doc" />
36
	<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
40
	<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
37
	<property name="web.dir" value="${current-loc}/web" />
41
	<property name="web.dir" value="${current-loc}/web" />
38
	<property name="build.dir" value="${current-loc}/bin" />
42
	<property name="build.dir" value="${current-loc}/bin" />
39
	<property name="delivery.dir" value="c:\\TEMP\\_DELIVERY_AREA" />
43
	<property name="delivery.dir" value="c:/TEMP/_DELIVERY_AREA" />
Line 40... Line 44...
40
	<property name="name" value="XServices" />
44
	<property name="name" value="XServices" />
41
 
45
 
Line 59... Line 63...
59
 
63
 
60
	<target name="create-doc" depends="clean-doc, merge">
64
	<target name="create-doc" depends="clean-doc, merge">
61
		<xslt force="true" style="${html.stylesheet.hl}" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
65
		<xslt force="true" style="${html.stylesheet.hl}" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
62
			<factory name="${xalan}" />
66
			<factory name="${xalan}" />
63
			<classpath refid="xslthl.path" />
67
			<classpath refid="xslthl.path" />
64
			<param name="highlight.xslthl.config" expression="file:///C:/JAVA-DEV/docbook-xsl-1.78.1/highlighting/xslthl-config.xml" />
68
			<param name="highlight.xslthl.config" expression="file:///${docbookdir}/highlighting/xslthl-config.xml" />
65
			<param name="highlight.source" expression="1" />
69
			<param name="highlight.source" expression="1" />
66
			<param name="html.stylesheet" expression="style.css" />
70
			<param name="html.stylesheet" expression="style.css" />
67
		</xslt>
71
		</xslt>
68
		<copy file="${docbooksource}/style.css" overwrite="true" tofile="${htmldir}/style.css" />
72
		<copy file="${docbooksource}/style.css" overwrite="true" tofile="${htmldir}/style.css" />
Line 83... Line 87...
83
			<param name="html.stylesheet" expression="styles.css" />
87
			<param name="html.stylesheet" expression="styles.css" />
84
			<param name="section.autolabel" expression="1" />
88
			<param name="section.autolabel" expression="1" />
85
			<param name="html.cleanup" expression="1" />
89
			<param name="html.cleanup" expression="1" />
86
			<param name="chunk.first.selection" expression="1" />
90
			<param name="chunk.first.selection" expression="1" />
87
			<param name="navig.showtitles" expression="1" />
91
			<param name="navig.showtitles" expression="1" />
88
			<param name="highlight.xslthl.config" expression="file:///C:/JAVA-DEV/docbook-xsl-1.78.1/highlighting/xslthl-config.xml" />
92
			<param name="highlight.xslthl.config" expression="file:///${docbookdir}/highlighting/xslthl-config.xml" />
89
			<param name="highlight.source" expression="1" />
93
			<param name="highlight.source" expression="1" />
90
		</xslt>
94
		</xslt>
91
		<copy file="${docbooksource}/style.css" overwrite="true" tofile="${htmldir}/style.css" />
95
		<copy file="${docbooksource}/style.css" overwrite="true" tofile="${htmldir}/style.css" />
92
	</target>
96
	</target>
Line 100... Line 104...
100
			<param name="fop1.extensions" expression="1" />
104
			<param name="fop1.extensions" expression="1" />
101
			<param name="section.autolabel" expression="1" />
105
			<param name="section.autolabel" expression="1" />
102
			<param name="chapter.autolabel" expression="1" />
106
			<param name="chapter.autolabel" expression="1" />
103
			<param name="appendix.autolabel" expression="1" />
107
			<param name="appendix.autolabel" expression="1" />
104
			<param name="section.label.includes.component.label" expression="1" />
108
			<param name="section.label.includes.component.label" expression="1" />
105
			<param name="highlight.xslthl.config" expression="file:///C:/JAVA-DEV/docbook-xsl-1.78.1/highlighting/xslthl-config.xml" />
109
			<param name="highlight.xslthl.config" expression="file:///${docbookdir}/highlighting/xslthl-config.xml" />
106
			<param name="highlight.source" expression="1" />
110
			<param name="highlight.source" expression="1" />
107
			<param name="paper.type" expression="A4" />
111
			<param name="paper.type" expression="A4" />
108
		</xslt>
112
		</xslt>
Line 109... Line 113...
109
 
113