Close RevWalk in GitFlowOperation
[egit/eclipse.git] / org.eclipse.egit.doc / build-help.xml
blob7eddf1a3d57c3e1fcbaa2bcd6bd90a5ffdbe849c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="org.eclipse.egit.doc" basedir="." default="all">
3 <!--
4     Copyright (c) 2010 Chris Aniszczyk and others.
5     Copyright (c) 2010,2013 Matthias Sohn <matthias.sohn@sap.com>
6     All rights reserved. This program and the accompanying materials
7     are made available under the terms of the Eclipse Public License v1.0
8     which accompanies this distribution, and is available at
9     http://www.eclipse.org/legal/epl-v10.html
11     Contributors:
12          Chris Aniszczyk - initial API and implementation
13          Matthias Sohn - maven integration, update to wikitext 1.3, adding additional wikis
14 -->
15         <description>
16                 Generate Eclipse help content for the EGit user guide
17         </description>
19         <taskdef resource="org/eclipse/mylyn/wikitext/mediawiki/ant/tasks.properties"/>
21         <property name="egit.help.doc.url.base" value="http://wiki.eclipse.org" />
23         <target name="all" description="Generate Eclipse help content for the EGit documentation">
24                 <sequential>
25                         <delete failonerror="false">
26                                 <fileset dir="${basedir}/help/images" />
27                         </delete>
29                         <mediawiki-to-eclipse-help
30                                 dest="${basedir}/help"
31                 wikiBaseUrl="${egit.help.doc.url.base}"
32                                 defaultAbsoluteLinkTarget="egit_external"
33                 fetchImages="true"
34                                 formatOutput="true"
35                                 generateUnifiedToc="true"
36                                 helpPrefix="help"
37                                 navigationImages="true"
38                                 prependImagePrefix="images"
39                                 title="EGit Documentation"
40                                 validate="true"
41                                 failOnValidationError="true"
42                         >
43                                 <path name="EGit/User_Guide" title="EGit User Guide" />
44                                 <path name="JGit/User_Guide" title="JGit User Guide" />
45                                 <path name="EGit/New_and_Noteworthy/4.9" title="EGit 4.9 New and Noteworthy" />
46                                 <path name="JGit/New_and_Noteworthy/4.9" title="JGit 4.9 New and Noteworthy" />
47                                 <path name="EGit/Git_For_Eclipse_Users" title="Git for Eclipse Users" />
48                                 <path name="EGit/Contributor_Guide" title="EGit Contributor Guide" />
49                                 <stylesheet url="book.css" />
50                                 <pageAppendum>
52                                         = Updating This Document =
54                                         This document is maintained in a collaborative wiki. If you wish to
55                                         update or modify this document please visit
56                                         {url}</pageAppendum>
57                         </mediawiki-to-eclipse-help>
58                         <mkdir dir="help/images" />
59                         <copy todir="${basedir}/help/images" overwrite="true">
60                                 <fileset dir="images" />
61                         </copy>
62                 </sequential>
63         </target>
64 </project>