1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project name=
"org.eclipse.tracecompass.doc.user" default=
"build">
4 Generate Eclipse help content for the Trace Compass User Guide
7 <property name=
"document.title" value=
"Trace Compass User Guide" />
9 <path id=
"wikitext.tasks.classpath">
10 <!-- Search in the local Eclipse plugins directory for the Wikitext plugin -->
11 <fileset dir=
"${osgi.syspath}" erroronmissingdir=
"false">
12 <include name=
"org.eclipse.mylyn.wikitext.*core*.jar" />
13 <include name=
"com.google.guava_*.jar" />
16 <!-- For Maven builds: use the compile_classpath -->
17 <pathelement path=
"${compile_classpath}" />
20 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
22 <target name=
"build" description=
"Generate Eclipse help content for the Trace Compass User Guide">
23 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
25 failonvalidationerror=
"true"
27 multipleOutputFiles=
"true"
28 navigationimages=
"true"
29 title=
"${document.title}"
33 <include name=
"User-Guide.mediawiki" />
35 <stylesheet url=
"book.css" />
36 </wikitext-to-eclipse-help>
37 <antcall target=
"test" />
40 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
42 Don't bother with DTD validation: we only care if the files are well-formed.
43 We therefore provide an empty DTD
45 <xmlvalidate lenient=
"true">
47 <include name=
"**/*.html" />
49 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
"../.empty.dtd" />
53 <target name =
"clean" description=
"Delete all generated files">
54 <delete failonerror=
"false" includeemptydirs=
"true">
55 <fileset dir=
"doc" includes=
"**/*.html" />
56 <fileset dir=
"doc" includes=
"**/*.xml" />