Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschmitt2010-04-06 18:37:57 +0000
committerrschmitt2010-04-06 18:37:57 +0000
commit1559a72328394235122fa29f07820536c8145a64 (patch)
tree93f68526bd8a5604eaac58d85601f0565d63543b /plugins/org.eclipse.osee.framework.dev.help.ui
parent014accac9b5214b3c8c6299388bbc8c6df9cda3d (diff)
downloadorg.eclipse.osee-1559a72328394235122fa29f07820536c8145a64.tar.gz
org.eclipse.osee-1559a72328394235122fa29f07820536c8145a64.tar.xz
org.eclipse.osee-1559a72328394235122fa29f07820536c8145a64.zip
Simplified help generation scripts
Diffstat (limited to 'plugins/org.eclipse.osee.framework.dev.help.ui')
-rw-r--r--plugins/org.eclipse.osee.framework.dev.help.ui/build-helper.xml76
-rw-r--r--plugins/org.eclipse.osee.framework.dev.help.ui/build.properties4
-rw-r--r--plugins/org.eclipse.osee.framework.dev.help.ui/plugin.xml4
3 files changed, 24 insertions, 60 deletions
diff --git a/plugins/org.eclipse.osee.framework.dev.help.ui/build-helper.xml b/plugins/org.eclipse.osee.framework.dev.help.ui/build-helper.xml
index 97715c881fd..1e2856d63ae 100644
--- a/plugins/org.eclipse.osee.framework.dev.help.ui/build-helper.xml
+++ b/plugins/org.eclipse.osee.framework.dev.help.ui/build-helper.xml
@@ -1,69 +1,39 @@
-<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.osee.framework.dev.help.ui" basedir="."
default="all">
<property name="osee.base.help.plugin" value="../org.eclipse.osee.framework.help.ui" />
<property name="ant.file.imported" value="${osee.base.help.plugin}/scripts" />
<import file="${ant.file.imported}/help-build-common.xml" />
- <description>
- Generate Eclipse help content for developers
- </description>
+ <description>Generate Eclipse help content for developers</description>
<property name="osee.help.doc.url.base" value="http://wiki.eclipse.org" />
- <property name="osee.help.image.folder" value="images" />
-
- <property name="osee.help.dev.intro" value="OSEE/Developers_Guide" />
-
- <property name="osee.help.dev.intro.file.name" value="OSEE Developers Guide" />
<target name="all"
description="Generate Eclipse help content for the OSEE Developers' guide">
<sequential>
- <delete>
- <fileset dir="userguide" />
+ <delete failonerror="false">
+ <fileset dir="OSEE" />
</delete>
- <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/Developers_Guide" title="Developers' Guide"/>
- <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>
+ <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/Developers_Guide" title="Developers' Guide" />
+ <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" />
+ <copy todir="${basedir}/images" overwrite="true">
+ <fileset dir="${ant.file.imported}/commonImages" />
+ </copy>
+ </sequential>
</target>
</project>
diff --git a/plugins/org.eclipse.osee.framework.dev.help.ui/build.properties b/plugins/org.eclipse.osee.framework.dev.help.ui/build.properties
index 933d02d4b69..504a4ca8579 100644
--- a/plugins/org.eclipse.osee.framework.dev.help.ui/build.properties
+++ b/plugins/org.eclipse.osee.framework.dev.help.ui/build.properties
@@ -3,6 +3,4 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
- images/,\
- toc.xml,\
- userguide/
+ toc.xml
diff --git a/plugins/org.eclipse.osee.framework.dev.help.ui/plugin.xml b/plugins/org.eclipse.osee.framework.dev.help.ui/plugin.xml
index 99b4792405f..5029faacbf1 100644
--- a/plugins/org.eclipse.osee.framework.dev.help.ui/plugin.xml
+++ b/plugins/org.eclipse.osee.framework.dev.help.ui/plugin.xml
@@ -9,9 +9,5 @@
file="toc.xml"
primary="true">
</toc>
- <toc
- file="userguide/OSEE Developers Guide-toc.xml"
- primary="false">
- </toc>
</extension>
</plugin>

Back to the top