1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project name=
"org.eclipse.linuxtools.tmf.pcap.help" default=
"build" basedir=
".">
4 Generate Eclipse help content for the Linux Tools Pcap User Guide
7 <property name=
"ug.title" value=
"Pcap Network Tracing User 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" />
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/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
21 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
22 <!-- Different location in more recent versions of Mylyn (Luna ?) -->
23 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
25 <target name=
"build" description=
"Generate Eclipse help content for the Linux Tools Pcap User Guide">
26 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
28 failonvalidationerror=
"true"
30 multipleOutputFiles=
"true"
31 navigationimages=
"true"
36 <include name=
"User-Guide.mediawiki" />
38 <stylesheet url=
"book.css" />
39 </wikitext-to-eclipse-help>
40 <antcall target=
"test" />
43 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
45 Don't bother with DTD validation: we only care if the files are well-formed.
46 We therefore provide an empty DTD
48 <xmlvalidate lenient=
"true">
50 <include name=
"**/*.html" />
52 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
".empty.dtd" />
56 <target name =
"clean" description=
"Delete all generated files">
57 <delete failonerror=
"false">
58 <fileset dir=
"doc" includes=
"**/*.html" />
59 <fileset dir=
"doc" includes=
"**/*.xml" />