Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
62 brianR 1
<?xml version="1.0"?>
137 brianR 2
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
62 brianR 3
 
4
	<property name="current-loc" location="." />
5
	<property name="workspace" location=".." />
6
	<property name="htmldir" value="${current-loc}/doc/html" />
7
	<property name="docbookdir" value="C:\JAVA-DEV\docbook-xsl-ns-1.76.1\html\" />
137 brianR 8
	<property name="docbooksource" value="${current-loc}/doc" />
62 brianR 9
	<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
10
 
137 brianR 11
 
62 brianR 12
	<!-- XSLT Chunking Properties -->
137 brianR 13
	<property name="base.dir" value="${htmldir}" />
14
 
62 brianR 15
	<target name="merge">
144 brianR 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
		-->
137 brianR 21
		<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml" out="${docbooksource}/BruteXServices_User_Guide.dbk" />
62 brianR 22
	</target>
137 brianR 23
 
62 brianR 24
	<target name="clean-doc">
25
		<delete dir="${htmldir}" />
137 brianR 26
		<mkdir dir="${htmldir}" />
62 brianR 27
	</target>
28
 
29
	<target name="create-doc" depends="clean-doc, merge">
30
 
137 brianR 31
		<xslt force="true" style="${docbookdir}/../toHTML.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
62 brianR 32
			<factory name="${xalan}" />
137 brianR 33
			<param name="base.dir" expression="${htmldir}/" />
62 brianR 34
			<param name="use.id.as.filename" expression="1" />
35
		</xslt>
36
	</target>
137 brianR 37
 
83 brianR 38
	<target name="create-webdoc" depends="clean-doc, merge">
62 brianR 39
 
137 brianR 40
		<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
83 brianR 41
			<factory name="${xalan}" />
137 brianR 42
			<param name="base.dir" expression="${htmldir}/" />
83 brianR 43
			<param name="use.id.as.filename" expression="1" />
44
			<param name="fop.extensions" expression="0" />
45
		</xslt>
46
	</target>
47
 
137 brianR 48
	<!-- =================================
49
	          target: resolve
50
	         ================================= -->
51
	<target name="resolve" description="--> retrieve dependencies with ivy">
52
		<ivy:retrieve />
53
	</target>
54
 
62 brianR 55
</project>