Subversion Repositories XServices

Rev

Rev 83 | Rev 144 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 137
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">
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
		<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml"
-
 
17
		              out="${docbooksource}/BruteXServices_User_Guide.dbk"
-
 
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}" />
23
		<mkdir dir="${htmldir}"/>
21
		<mkdir dir="${htmldir}" />
24
	</target>
22
	</target>
25
 
23
 
26
	<target name="create-doc" depends="clean-doc, merge">
24
	<target name="create-doc" depends="clean-doc, merge">
27
 
25
 
28
		<xslt force="true" style="${docbookdir}/../toHTML.xsl" 
-
 
29
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
-
 
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" />
34
		</xslt>
30
		</xslt>
35
	</target>
31
	</target>
36
	
32
 
37
	<target name="create-webdoc" depends="clean-doc, merge">
33
	<target name="create-webdoc" depends="clean-doc, merge">
38
 
34
 
39
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" 
-
 
40
			in="${docbooksource}/BruteXServices_User_Guide.dbk"
-
 
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}" />
43
			<param name="base.dir" expression="${htmldir}/"/>
37
			<param name="base.dir" expression="${htmldir}/" />
44
			<param name="use.id.as.filename" expression="1" />
38
			<param name="use.id.as.filename" expression="1" />
45
			<param name="fop.extensions" expression="0" />
39
			<param name="fop.extensions" expression="0" />
46
		</xslt>
40
		</xslt>
47
	</target>
41
	</target>
-
 
42
 
-
 
43
	<!-- ================================= 
-
 
44
	          target: resolve              
-
 
45
	         ================================= -->
-
 
46
	<target name="resolve" description="--> retrieve dependencies with ivy">
-
 
47
		<ivy:retrieve />
-
 
48
	</target>
48
 
49
 
49
</project>
50
</project>