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 <!-- For Maven builds: use the compile_classpath -->
16 <pathelement path=
"${compile_classpath}" />
19 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
20 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
21 <!-- Different location in more recent versions of Mylyn (Luna ?) -->
22 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
24 <target name=
"build" description=
"Generate Eclipse help content for the Linux Tools TMF Developer Guide">
25 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
27 failonvalidationerror=
"true"
29 multipleOutputFiles=
"true"
30 navigationimages=
"true"
35 <include name=
"Developer-Guide.mediawiki" />
37 <stylesheet url=
"book.css" />
38 </wikitext-to-eclipse-help>
39 <antcall target=
"test" />
42 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
44 Don't bother with DTD validation: we only care if the files are well-formed.
45 We therefore provide an empty DTD
47 <xmlvalidate lenient=
"true">
49 <include name=
"**/*.html" />
51 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
".empty.dtd" />
55 <target name =
"clean" description=
"Delete all generated files">
56 <delete failonerror=
"false">
57 <fileset dir=
"doc" includes=
"**/*.html" />
58 <fileset dir=
"doc" includes=
"**/*.xml" />