| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2010 Red Hat, Inc. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Red Hat - initial API and implementation |
| Alvaro Sanchez-Leon - Adapted to Mylyn Reviews R4E |
| --> |
| <project name="org.eclipse.mylyn.reviews.r4e.help.install" basedir="." default="all"> |
| <description> |
| Generate Eclipse help content for the Mylyn Reviews R4E user guide |
| </description> |
| |
| <property name="r4e.help.title" value="R4E Documentation" /> |
| <property name="r4e.ug.title" value="R4E User Guide" /> |
| <property name="help.doc.url.base" value="http://wiki.eclipse.org" /> |
| |
| <path id="wikitext.tasks.classpath"> |
| <fileset dir="!---your Eclipse installation plugins directory path---!"> |
| <include name="org.eclipse.mylyn.wikitext.*core*.jar" /> |
| </fileset> |
| </path> |
| |
| <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" /> |
| <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" /> |
| |
| <target name="all" description="Generate Eclipse help content for the Mylyn Reviews R4E user guide"> |
| <sequential> |
| <!-- IMPORTANT NOTE |
| After this script is executed. Do the following: |
| 1) In file _r4eOpenInstall-toc.xml, add the value "../org.eclipse.mylyn.reviews.r4e.help/doc/_r4eOpenUser-toc.xml#r4eInstallOpen" to the anchor field |
| --> |
| <wikitext-to-eclipse-help markupLanguage="MediaWiki" |
| validate="true" |
| failonvalidationerror="true" |
| overwrite="true" |
| title="${r4e.help.title}" |
| multipleOutputFiles="true" |
| formatoutput="true" |
| navigationImages="true" |
| helpPrefix="doc"> |
| <fileset dir="${basedir}/doc"> |
| <include name="_r4eOpenInstall.mediawiki" /> |
| </fileset> |
| <stylesheet url="book.css" /> |
| </wikitext-to-eclipse-help> |
| </sequential> |
| </target> |
| </project> |