1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <project name="org.eclipse.egit.doc" basedir="." default="all">
\r
4 Copyright (c) 2010 Chris Aniszczyk and others.
\r
5 Copyright (c) 2010 Matthias Sohn <matthias.sohn@sap.com>
\r
6 All rights reserved. This program and the accompanying materials
\r
7 are made available under the terms of the Eclipse Public License v1.0
\r
8 which accompanies this distribution, and is available at
\r
9 http://www.eclipse.org/legal/epl-v10.html
\r
12 Chris Aniszczyk - initial API and implementation
\r
13 Matthias Sohn - maven integration, update to wikitext 1.3, adding additional wikis
\r
16 Generate Eclipse help content for the EGit user guide
\r
19 <path id="wikitext.tasks.classpath">
\r
20 <pathelement path="${compile_classpath}"/>
\r
22 <echo message="compile classpath: ${compile_classpath}"/>
\r
23 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties"/>
\r
24 <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties"/>
\r
26 <property name="egit.help.doc.url.base" value="http://wiki.eclipse.org" />
\r
28 <target name="all" description="Generate Eclipse help content for the EGit documentation">
\r
30 <delete failonerror="false">
\r
31 <fileset dir="${basedir}/help/images" />
\r
34 <mediawiki-to-eclipse-help wikiBaseUrl="${egit.help.doc.url.base}"
\r
35 validate="true" failonvalidationerror="true" prependImagePrefix="images"
\r
36 formatoutput="true" defaultAbsoluteLinkTarget="egit_external" dest="${basedir}/help"
\r
37 navigationimages="true" title="EGit Documentation" helpPrefix="help"
\r
38 generateUnifiedToc="true">
\r
39 <path name="EGit/User_Guide" title="EGit User Guide" />
\r
40 <path name="EGit/Git_For_Eclipse_Users" title="Git for Eclipse Users" />
\r
41 <stylesheet url="book.css" />
\r
44 = Updating This Document =
\r
46 This document is maintained in a collaborative wiki. If you wish to
\r
47 update or modify this document please visit
\r
48 {url}</pageAppendum>
\r
49 </mediawiki-to-eclipse-help>
\r
50 <mkdir dir="help/images" />
\r
51 <copy todir="${basedir}/help/images" overwrite="true">
\r
52 <fileset dir="images" />
\r