Subversion Repositories XServices

Rev

Rev 83 | Rev 144 | Go to most recent revision | Show entire file | Regard 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" />
Line 11... Line 11...
11
    
11
 
12
	<!-- XSLT Chunking Properties -->
12
	<!-- XSLT Chunking Properties -->
Line 13... Line 13...
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">
Line 18... Line 16...
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">
Line 22... Line 20...
22
		<delete dir="${htmldir}" />
20
		<delete dir="${htmldir}" />
Line 23... Line 21...
23
		<mkdir dir="${htmldir}"/>
21
		<mkdir dir="${htmldir}" />
24
	</target>
-
 
25
 
-
 
26
	<target name="create-doc" depends="clean-doc, merge">
22
	</target>
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">
Line 31... Line 27...
31
			<factory name="${xalan}" />
27
			<factory name="${xalan}" />
Line 32... Line 28...
32
			<param name="base.dir" expression="${htmldir}/"/>
28
			<param name="base.dir" expression="${htmldir}/" />
33
			<param name="use.id.as.filename" expression="1" />
-
 
34
		</xslt>
-
 
35
	</target>
29
			<param name="use.id.as.filename" expression="1" />
36
	
30
		</xslt>
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
 
Line -... Line 35...
-
 
35
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
-
 
36
			<factory name="${xalan}" />
-
 
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>
41
			out="${htmldir}/xservices.fo">
42