Subversion Repositories XServices

Rev

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

Rev 83 Rev 137
Line 1... Line 1...
1
<?xml version="1.0"?>
1
<?xml version="1.0"?>
2
<project default="create-doc" basedir=".">
2
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
Line 3... Line 3...
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" />
Line 9... Line 9...
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">
-
 
16
		<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml"
-
 
17
		              out="${docbooksource}/BruteXServices_User_Guide.dbk"
15
	<target name="merge">
18
		/>
16
		<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml" out="${docbooksource}/BruteXServices_User_Guide.dbk" />
19
	</target>
17
	</target>
20
	
18
 
21
	<target name="clean-doc">
19
	<target name="clean-doc">
22
		<delete dir="${htmldir}" />
20
		<delete dir="${htmldir}" />
Line 23... Line 21...
23
		<mkdir dir="${htmldir}"/>
21
		<mkdir dir="${htmldir}" />
Line 24... Line 22...
24
	</target>
22
	</target>
25
 
-
 
26
	<target name="create-doc" depends="clean-doc, merge">
-
 
27
 
23
 
28
		<xslt force="true" style="${docbookdir}/../toHTML.xsl" 
24
	<target name="create-doc" depends="clean-doc, merge">
29
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
25
 
30
			out="${htmldir}/index.html">
26
		<xslt force="true" style="${docbookdir}/../toHTML.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
31
			<factory name="${xalan}" />
27
			<factory name="${xalan}" />
32
			<param name="base.dir" expression="${htmldir}/"/>
28
			<param name="base.dir" expression="${htmldir}/" />
33
			<param name="use.id.as.filename" expression="1" />
29
			<param name="use.id.as.filename" expression="1" />
Line 34... Line 30...
34
		</xslt>
30
		</xslt>
35
	</target>
-
 
36
	
-
 
37
	<target name="create-webdoc" depends="clean-doc, merge">
31
	</target>
38
 
32
 
39
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" 
33
	<target name="create-webdoc" depends="clean-doc, merge">
40
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
34
 
41
			out="${htmldir}/xservices.fo">
35
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
42
			<factory name="${xalan}" />
36
			<factory name="${xalan}" />
Line -... Line 37...
-
 
37
			<param name="base.dir" expression="${htmldir}/" />
-
 
38
			<param name="use.id.as.filename" expression="1" />
-
 
39
			<param name="fop.extensions" expression="0" />
-
 
40
		</xslt>
-
 
41
	</target>
-
 
42
 
-
 
43
	<!-- ================================= 
43
			<param name="base.dir" expression="${htmldir}/"/>
44
	          target: resolve