/[eiffelstudio]/vendor/gobosoft.com/gobo/current/doc/gexslt/extension/build.eant
ViewVC logotype

Contents of /vendor/gobosoft.com/gobo/current/doc/gexslt/extension/build.eant

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90767 - (show annotations)
Tue Jan 22 00:56:30 2013 UTC (6 years, 8 months ago) by manus
File MIME type: text/xml
File size: 2284 byte(s)
Updated svn:eol-style to be native and svn:mime-style to be text/xml

1 <?xml version="1.0"?>
2
3 <project name="gexslt_extensions_doc" default="help">
4
5 <description>
6 description: "Gobo Eiffel XSLT Extensions documentation"
7 system: "Gobo Eiffel XSLT"
8 copyright: "Copyright (c) 2004, Colin Adams and others"
9 license: "MIT License"
10 date: "$Date$"
11 revision: "$Revision$"
12 </description>
13
14 <target name="help">
15 <echo message="usage:"/>
16 <echo message=" geant install"/>
17 <echo message=" geant clean"/>
18 <echo message=" geant clobber"/>
19 </target>
20
21 <target name="install">
22 <description>
23 Install the Gobo Eiffel XSLT Extensions documentation.
24 </description>
25
26
27 <set name="xslt_processor" value="gexslt" unless="$GOBO_XSLT_PROCESSOR"/>
28 <set name="xslt_processor" value="${GOBO_XSLT_PROCESSOR}" if="$GOBO_XSLT_PROCESSOR"/>
29
30 <set name="previous" value="index"/>
31 <set name="current" value="index"/>
32 <geant target="xslt_and_shift" arguments="index"/>
33 </target>
34
35 <target name="clean">
36 <description>
37 Remove intermediary generated files.
38 </description>
39
40 <!-- do nothing -->
41 </target>
42
43 <target name="clobber">
44 <description>
45 Remove all generated files.
46 </description>
47
48 <delete file="index.html"/>
49 </target>
50
51 <!-- Implementation -->
52
53 <target name="xslt_and_shift" export="NONE">
54 <description>
55 Call `xslt' and shift variables `previous' and `current' one chapter forward.
56 </description>
57 <argument name="a_next"/>
58
59 <geant target="xslt" arguments="${previous},${current},${a_next}"/>
60 <!-- Shift parameters -->
61 <set name="previous" value="${current}"/>
62 <set name="current" value="${a_next}"/>
63 </target>
64
65 <target name="xslt" export="NONE">
66 <description>
67 Execute XSL Transformation for argument ${a_file}, ${a_previous}
68 and ${a_next} using processor ${xslt_processor}.
69 </description>
70 <argument name="a_previous"/>
71 <argument name="a_file"/>
72 <argument name="a_next"/>
73
74 <xslt processor="${xslt_processor}" input="${a_file}.xml" output="${a_file}.html" stylesheet="${GOBO}/doc/misc/gobo2html2.xsl">
75 <parameter name="previous" value="&quot;'${a_previous}.html'&quot;"/>
76 <parameter name="next" value="&quot;'${a_next}.html'&quot;"/>
77 <parameter name="toc" value="&quot;'index.html'&quot;"/>
78 <parameter name="images" value="'../../image/'"/>
79 </xslt>
80 </target>
81
82 </project>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mime-type text/xml

  ViewVC Help
Powered by ViewVC 1.1.23