1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project name=
"org.eclipse.linuxtools.tmf.help" default=
"build" basedir=
".">
4 Generate Eclipse help content for the Linux Tools TMF Developer Guide
7 <property name=
"ug.title" value=
"TMF Developer Guide" />
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" />
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" />
20 <!-- For Maven builds: use the compile_classpath -->
21 <pathelement path=
"${compile_classpath}" />
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" />
27 <target name=
"build" description=
"Generate Eclipse help content for the Linux Tools TMF Developer Guide">
28 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
30 failonvalidationerror=
"true"
32 multipleOutputFiles=
"true"
33 navigationimages=
"true"
38 <include name=
"Developer-Guide.mediawiki" />
40 <stylesheet url=
"book.css" />
41 </wikitext-to-eclipse-help>
42 <antcall target=
"test" />
45 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
47 Don't bother with DTD validation: we only care if the files are well-formed.
48 We therefore provide an empty DTD
50 <xmlvalidate lenient=
"true">
52 <include name=
"**/*.html" />
54 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
".empty.dtd" />
58 <target name =
"clean" description=
"Delete all generated files">
59 <delete failonerror=
"false">
60 <fileset dir=
"doc" includes=
"**/*.html" />
61 <fileset dir=
"doc" includes=
"**/*.xml" />