tmf: Bug 457502: Prevent duplication of Stream List view filters
[deliverable/tracecompass.git] / org.eclipse.tracecompass.help / build.xml
CommitLineData
70f06a6f 1<?xml version="1.0" encoding="UTF-8"?>
556101f3 2<project name="org.eclipse.tracecompass.help" default="build">
12bf6834
FC
3 <description>
4 Generate Eclipse help content for the Linux Tools LTTng user guide
5 </description>
6
82de5675 7 <!-- Set correct values -->
12bf6834 8 <property name="help.doc.url.base" value="http://wiki.eclipse.org" />
6dc1ef9f 9 <property name="ug.path" value="Linux_Tools_Project/LTTng2/User_Guide" />
12bf6834
FC
10 <property name="ug.title" value="LTTng Plug-in User Guide" />
11
12bf6834 12 <path id="wikitext.tasks.classpath">
9298e695
MAL
13 <!-- Search in the local Eclipse plugins directory for the Wikitext plugin -->
14 <fileset dir="${osgi.syspath}" erroronmissingdir="false">
12bf6834 15 <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
571556ce 16 <include name="com.google.guava_*.jar" />
12bf6834 17 </fileset>
82de5675 18
82de5675
AM
19 <!-- For Maven builds: use the compile_classpath -->
20 <pathelement path="${compile_classpath}" />
12bf6834 21 </path>
82de5675 22
12bf6834
FC
23 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
24 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
4fc71fbc
MAL
25 <!-- Different location in more recent versions of Mylyn (Luna ?) -->
26 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
12bf6834 27
82de5675
AM
28 <target name="build" description="Generate Eclipse help content for the Linux Tools LTTng User Guide">
29 <wikitext-to-eclipse-help markupLanguage="MediaWiki"
ff25eb47
BH
30 validate="true"
31 failonvalidationerror="true"
82de5675
AM
32 overwrite="true"
33 multipleOutputFiles="true"
ff25eb47
BH
34 navigationimages="true"
35 title="${ug.title}"
36 formatoutput="true"
82de5675
AM
37 helpPrefix="doc">
38 <fileset dir="./doc">
39 <include name="User-Guide.mediawiki" />
40 </fileset>
ff25eb47
BH
41 <stylesheet url="book.css" />
42 </wikitext-to-eclipse-help>
43 <antcall target="test" />
12bf6834
FC
44 </target>
45
46 <target name="test" description="Verify that all of the HTML files are well-formed XML">
607e4c98 47 <!--
12bf6834 48 Don't bother with DTD validation: we only care if the files are well-formed.
607e4c98 49 We therefore provide an empty DTD
12bf6834 50 -->
12bf6834 51 <xmlvalidate lenient="true">
ff25eb47 52 <fileset dir="doc">
12bf6834
FC
53 <include name="**/*.html" />
54 </fileset>
82de5675 55 <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location=".empty.dtd" />
12bf6834 56 </xmlvalidate>
12bf6834 57 </target>
82de5675
AM
58
59
60 <!-- If you need a proxy for the "download" target, set it here -->
61 <!--
62 <setproxy proxyhost="host" proxyport="port"/>
63 -->
64
65 <target name="download" description="Download the current contents of the LTTng User Guide from the Eclipse wiki">
66 <mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="${ug.title}" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
67 <path name="${ug.path}" title="${ug.title}" generateToc="false" />
68 <stylesheet url="book.css" />
69 <pageAppendum>
70= Updating This Document =
71
607e4c98 72This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit
82de5675
AM
73http://wiki.eclipse.org/Linux_Tools_Project/LTTng2/User_Guide.
74 </pageAppendum>
75 </mediawiki-to-eclipse-help>
76 </target>
77
78 <target name ="clean" description="Delete all generated files">
79 <delete failonerror="false" includeemptydirs="true">
80 <!-- Files under doc/ (generated locally) -->
81 <fileset dir="doc" includes="**/*.html" />
82 <fileset dir="doc" includes="**/*.xml" />
83
84 <!-- Files downloaded from the Eclipse wiki -->
85 <fileset dir="Linux_Tools_Project" />
86 <fileset file="toc.xml" />
87 </delete>
88 </target>
89
12bf6834 90</project>
This page took 0.067919 seconds and 5 git commands to generate.