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.linuxtools.gdbtrace.help" default=
"build">
12 Generate Eclipse help content for the Linux Tools GDB Tracepoint Analysis user guide
15 <!-- Set correct values -->
16 <property name=
"help.doc.url.base" value=
"http://wiki.eclipse.org" />
17 <property name=
"ug.path" value=
"Linux_Tools_Project/GDB_Tracepoint_Analysis/User_Guide" />
18 <property name=
"ug.title" value=
"GDB Tracepoint Analysis User Guide" />
20 <path id=
"wikitext.tasks.classpath">
21 <!-- Search in the local Eclipse installation directory for the Wikitext plugin -->
22 <fileset dir=
"${eclipse.home}/plugins" erroronmissingdir=
"false">
23 <include name=
"org.eclipse.mylyn.wikitext.*core*.jar" />
26 <!-- Search in the system-wide installation directory (Debian) -->
27 <fileset dir=
"/usr/share/eclipse/dropins/mylyn-wikitext/eclipse/plugins" erroronmissingdir=
"false">
28 <include name=
"org.eclipse.mylyn.wikitext.*core*.jar" />
31 <!-- For Maven builds: use the compile_classpath -->
32 <pathelement path=
"${compile_classpath}" />
35 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
36 <taskdef classpathref=
"wikitext.tasks.classpath" resource=
"org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
38 <target name=
"build" description=
"Generate Eclipse help content for the Linux Tools GDB Tracepoint Analysis User Guide">
39 <wikitext-to-eclipse-help markupLanguage=
"MediaWiki"
41 failonvalidationerror=
"true"
43 multipleOutputFiles=
"true"
44 navigationimages=
"true"
49 <include name=
"User-Guide.mediawiki" />
51 <stylesheet url=
"book.css" />
52 </wikitext-to-eclipse-help>
53 <antcall target=
"test" />
56 <target name=
"test" description=
"Verify that all of the HTML files are well-formed XML">
58 Don't bother with DTD validation: we only care if the files are well-formed.
59 We therefore provide an empty DTD
61 <xmlvalidate lenient=
"true">
63 <include name=
"**/*.html" />
65 <dtd publicid=
"-//W3C//DTD XHTML 1.0 Transitional//EN" location=
".empty.dtd" />
69 <!-- If you need a proxy for the "download" target, set it here -->
71 <setproxy proxyhost="host" proxyport="port"/>
74 <target name=
"download" description=
"Download the current contents of the GDB Tracepoint Analysis User Guide from the Eclipse wiki">
75 <mediawiki-to-eclipse-help wikiBaseUrl=
"${help.doc.url.base}" title=
"${ug.title}" formatoutput=
"true" dest=
"." templateExcludes=
"*eclipseproject*">
76 <path name=
"${ug.path}" title=
"${ug.title}" generateToc=
"false" />
77 <stylesheet url=
"book.css" />
79 = Updating This Document =
81 This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit
82 http://wiki.eclipse.org/Linux_Tools_Project/GDB_Tracepoint_Analysis/User_Guide.
84 </mediawiki-to-eclipse-help>
87 <target name =
"clean" description=
"Delete all generated files">
88 <delete failonerror=
"false" includeemptydirs=
"true">
89 <!-- Files under doc/ (generated locally) -->
90 <fileset dir=
"doc" includes=
"**/*.html" />
91 <fileset dir=
"doc" includes=
"**/*.xml" />
93 <!-- Files downloaded from the Eclipse wiki -->
94 <fileset dir=
"Linux_Tools_Project" />
95 <fileset file=
"toc.xml" />