tmf: Add a tmf.help plugin for the User Guide
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.help / build.xml
CommitLineData
067490ab
AM
1<?xml version="1.0" encoding="UTF-8"?>
2<project name="org.eclipse.linuxtools.tmf.help" default="build" basedir=".">
3 <description>
4 Generate Eclipse help content for the Linux Tools TMF Designer Guide
5 </description>
6
7 <property name="ug.title" value="TMF Designer Guide" />
8
9 <path id="wikitext.tasks.classpath">
10 <!-- Search in the local Eclipse installation directory for the Wikitext plugin -->
11 <fileset dir="${eclipse.home}/plugins" erroronmissingdir="false">
12 <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
13 </fileset>
14
15 <!-- Search in the system-wide installation directory (Debian) -->
16 <fileset dir="/usr/share/eclipse/dropins/mylyn-wikitext/eclipse/plugins" erroronmissingdir="false">
17 <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
18 </fileset>
19
20 <!-- For Maven builds: use the compile_classpath -->
21 <pathelement path="${compile_classpath}" />
22 </path>
23
24 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
25 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
26
27 <target name="build" description="Generate Eclipse help content for the Linux Tools TMF Designer Guide">
28 <wikitext-to-eclipse-help markupLanguage="MediaWiki"
29 validate="true"
30 failonvalidationerror="true"
31 overwrite="true"
32 multipleOutputFiles="true"
33 navigationimages="true"
34 title="${ug.title}"
35 formatoutput="true"
36 helpPrefix="doc">
37 <fileset dir="doc">
38 <include name="User-Guide.mediawiki" />
39 </fileset>
40 <stylesheet url="book.css" />
41 </wikitext-to-eclipse-help>
42 <antcall target="test" />
43 </target>
44
45 <target name="test" description="Verify that all of the HTML files are well-formed XML">
46 <!--
47 Don't bother with DTD validation: we only care if the files are well-formed.
48 We therefore provide an empty DTD
49 -->
50 <xmlvalidate lenient="true">
51 <fileset dir="doc">
52 <include name="**/*.html" />
53 </fileset>
54 <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location=".empty.dtd" />
55 </xmlvalidate>
56 </target>
57
58 <target name ="clean" description="Delete all generated files">
59 <delete>
60 <fileset dir="doc" includes="**/*.html" />
61 <fileset dir="doc" includes="**/*.xml" />
62 </delete>
63 </target>
64
65</project>
This page took 0.026806 seconds and 5 git commands to generate.