1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Copyright (c) 2013 Ericsson
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
10 <project name=
"org.eclipse.tracecompass.gdbtrace.doc.user" default=
"build">
12 Generate Eclipse help content for the Trace Compass GDB Tracepoint Analysis User Guide
15 <property name=
"document.title" value=
"GDB Tracepoint Analysis User Guide" />
17 <path id=
"wikitext.tasks.classpath">
18 <!-- Search in the local Eclipse plugins directory for the Wikitext plugin -->
19 <fileset dir=
"${osgi.syspath}" erroronmissingdir=
"false">
20 <include name=
"org.eclipse.mylyn.wikitext.*core*.jar" />
21 <include name=
"com.google.guava_*.jar" />
24 <!-- For Maven builds: use the compile_classpath -->
25 <pathelement path=
"${compile_classpath}" />
28 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
30 <target name=
"build" description=
"Generate Eclipse help content for the Trace Compass GDB Tracepoint Analysis User Guide">
31 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
33 failonvalidationerror=
"true"
35 multipleOutputFiles=
"true"
36 navigationimages=
"true"
37 title=
"${document.title}"
41 <include name=
"User-Guide.mediawiki" />
43 <stylesheet url=
"book.css" />
44 </wikitext-to-eclipse-help>
45 <antcall target=
"test" />
48 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
50 Don't bother with DTD validation: we only care if the files are well-formed.
51 We therefore provide an empty DTD
53 <xmlvalidate lenient=
"true">
55 <include name=
"**/*.html" />
57 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
"../.empty.dtd" />
61 <target name =
"clean" description=
"Delete all generated files">
62 <delete failonerror=
"false" includeemptydirs=
"true">
63 <fileset dir=
"doc" includes=
"**/*.html" />
64 <fileset dir=
"doc" includes=
"**/*.xml" />