doc: Bug 495211. Add flat/hierarchical threads presentation user guide
[deliverable/tracecompass.git] / doc / org.eclipse.tracecompass.rcp.doc.user / build.xml
CommitLineData
2b042910 1<?xml version="1.0" encoding="UTF-8"?>
8995fed0 2<project name="org.eclipse.tracecompass.rcp.doc.user" default="build">
2b042910 3 <description>
8995fed0 4 Generate Eclipse help content for the Trace Compass RCP user guide
2b042910
BH
5 </description>
6
502334c4 7 <property name="document.title" value="Trace Compass RCP User Guide" />
2b042910
BH
8
9 <path id="wikitext.tasks.classpath">
9298e695
MAL
10 <!-- Search in the local Eclipse plugins directory for the Wikitext plugin -->
11 <fileset dir="${osgi.syspath}" erroronmissingdir="false">
2b042910 12 <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
571556ce 13 <include name="com.google.guava_*.jar" />
2b042910
BH
14 </fileset>
15
2b042910
BH
16 <!-- For Maven builds: use the compile_classpath -->
17 <pathelement path="${compile_classpath}" />
18 </path>
19
4fc71fbc 20 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
2b042910 21
63a4393f 22 <target name="build" description="Generate Eclipse help content for the Trace Compass RCP User Guide">
2b042910
BH
23 <wikitext-to-eclipse-help markupLanguage="MediaWiki"
24 validate="true"
25 failonvalidationerror="true"
26 overwrite="true"
27 multipleOutputFiles="true"
28 navigationimages="true"
502334c4 29 title="${document.title}"
2b042910
BH
30 formatoutput="true"
31 helpPrefix="doc">
32 <fileset dir="./doc">
33 <include name="User-Guide.mediawiki" />
34 </fileset>
35 <stylesheet url="book.css" />
36 </wikitext-to-eclipse-help>
37 <antcall target="test" />
38 </target>
39
40 <target name="test" description="Verify that all of the HTML files are well-formed XML">
607e4c98 41 <!--
2b042910 42 Don't bother with DTD validation: we only care if the files are well-formed.
607e4c98 43 We therefore provide an empty DTD
2b042910
BH
44 -->
45 <xmlvalidate lenient="true">
46 <fileset dir="doc">
47 <include name="**/*.html" />
48 </fileset>
502334c4 49 <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location="../.empty.dtd" />
2b042910
BH
50 </xmlvalidate>
51 </target>
52
2b042910
BH
53 <target name ="clean" description="Delete all generated files">
54 <delete failonerror="false" includeemptydirs="true">
2b042910
BH
55 <fileset dir="doc" includes="**/*.html" />
56 <fileset dir="doc" includes="**/*.xml" />
2b042910
BH
57 </delete>
58 </target>
887cb879
MAL
59 <target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
60 <help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
61 </target>
2b042910 62</project>
This page took 0.066559 seconds and 5 git commands to generate.