diff options
author | rschmitt | 2010-04-06 18:00:23 +0000 |
---|---|---|
committer | rschmitt | 2010-04-06 18:00:23 +0000 |
commit | 417399decb7e0830e3701612f3715c9990b1d8ce (patch) | |
tree | b87f5405135987dee78421e2e8d65ccb325ab116 /plugins/org.eclipse.osee.coverage.help.ui | |
parent | a758df12ecf956667cefa4e16bb1128b3f9437e7 (diff) | |
download | org.eclipse.osee-417399decb7e0830e3701612f3715c9990b1d8ce.tar.gz org.eclipse.osee-417399decb7e0830e3701612f3715c9990b1d8ce.tar.xz org.eclipse.osee-417399decb7e0830e3701612f3715c9990b1d8ce.zip |
Updated help generation
Diffstat (limited to 'plugins/org.eclipse.osee.coverage.help.ui')
-rw-r--r-- | plugins/org.eclipse.osee.coverage.help.ui/build-helper.xml | 87 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.coverage.help.ui/plugin.xml | 2 |
2 files changed, 47 insertions, 42 deletions
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/build-helper.xml b/plugins/org.eclipse.osee.coverage.help.ui/build-helper.xml index 2d4a54d522a..a359b6aca24 100644 --- a/plugins/org.eclipse.osee.coverage.help.ui/build-helper.xml +++ b/plugins/org.eclipse.osee.coverage.help.ui/build-helper.xml @@ -28,51 +28,56 @@ <property name="osee.help.update.file.name" value="OSEE Update" />
<target name="all"
- description="Generate Eclipse help content for the OSEE Coverage user guide">
+ description="Generate Eclipse help content for the OSEE ATS user guide">
<sequential>
<delete>
<fileset dir="userguide" />
</delete>
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE"
- help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.intro}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.intro}"
- help.doc.filenameNoExtension="${osee.help.intro.file.name}" help.imagefolder="${osee.help.image.folder}"
- targetfolder="userguide" />
-
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE"
- help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.views}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.views}"
- help.doc.filenameNoExtension="${osee.help.views.file.name}" help.imagefolder="${osee.help.image.folder}"
- targetfolder="userguide" />
-
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE"
- help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.usage}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.usage}"
- help.doc.filenameNoExtension="${osee.help.usage.file.name}" help.imagefolder="${osee.help.image.folder}"
- targetfolder="userguide" />
-
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE"
- help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.tips}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.tips}"
- help.doc.filenameNoExtension="${osee.help.tips.file.name}" help.imagefolder="${osee.help.image.folder}"
- targetfolder="userguide" />
-
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE"
- help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.new}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.new}"
- help.doc.filenameNoExtension="${osee.help.new.file.name}" help.imagefolder="${osee.help.image.folder}"
- targetfolder="userguide" />
-
- <eclipse-wiki-to-help help.doc.url.base="${osee.help.doc.url.base}"
- wiki.url.base="${osee.help.doc.url.base}/OSEE" help.doc.url.html="${osee.help.doc.url.base}/${osee.help.doc.update}"
- help.doc.url.xml="${osee.help.doc.url.base}/Special:Export/${osee.help.doc.update}"
- help.doc.filenameNoExtension="${osee.help.update.file.name}"
- help.imagefolder="${osee.help.image.folder}" targetfolder="userguide" />
+ <antcall target="generate-help"/>
</sequential>
</target>
+
+ <target name="generate-help" description="Generate Eclipse help content for the OSEE user guide">
+ <path id="wikitext.classpath2">
+ <fileset dir="../org.eclipse.osee.framework.help.ui/lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" classpathref="wikitext.classpath2"/>
+ <taskdef resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" classpathref="wikitext.classpath2"/>
+
+ <delete failonerror="false">
+ <fileset dir="OSEE" />
+ </delete>
+
+ <mediawiki-to-eclipse-help
+ wikiBaseUrl="${osee.help.doc.url.base}"
+ validate="true"
+ failonvalidationerror="true"
+ prependImagePrefix="images"
+ formatoutput="true"
+ defaultAbsoluteLinkTarget="osee_external"
+ dest="${basedir}"
+ navigationimages="true"
+ title="OSEE User's Guide"
+ generateUnifiedToc="true">
+ <path name="OSEE/Coverage/Users_Guide/Intro" title="Getting Started"/>
+ <path name="OSEE/Coverage/Users_Guide/Views" title="Views and Editors"/>
+ <path name="OSEE/Coverage/Users_Guide/Usage" title="Using Coverage"/>
+ <path name="OSEE/Coverage/Users_Guide/Tips" title="Tips and Tricks"/>
+ <path name="OSEE/Coverage/Users_Guide/New" title="What's New"/>
+ <stylesheet url="book.css"/>
+ <pageAppendum>
+
+= Updating This Document =
+
+This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit
+{url}</pageAppendum>
+ </mediawiki-to-eclipse-help>
+ <mkdir dir="images/images" />
+ <copy todir="${basedir}/images" overwrite="true">
+ <fileset dir="${ant.file.imported}/commonImages" />
+ </copy>
+ </target>
</project>
diff --git a/plugins/org.eclipse.osee.coverage.help.ui/plugin.xml b/plugins/org.eclipse.osee.coverage.help.ui/plugin.xml index f4ca4f294f1..c969fb4e99e 100644 --- a/plugins/org.eclipse.osee.coverage.help.ui/plugin.xml +++ b/plugins/org.eclipse.osee.coverage.help.ui/plugin.xml @@ -2,7 +2,7 @@ <?eclipse version="3.4"?>
<plugin>
<extension
- id="org.eclipse.osee.ats.help.ui.docs"
+ id="org.eclipse.osee.coverage.help.ui.docs"
name="OSEE Coverage"
point="org.eclipse.help.toc">
<toc
|