Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgreen2009-12-04 12:24:01 -0500
committerdgreen2009-12-04 12:24:01 -0500
commit9822f140b5f034aced6a30295dba3ef8c8d30e54 (patch)
tree0cce93473924f1f5241b6c782a4c9e48daf5ef36
parent42a57c60624fdac5989723ccc70d2238fb517a7a (diff)
downloadorg.eclipse.mylyn.tasks-9822f140b5f034aced6a30295dba3ef8c8d30e54.tar.gz
org.eclipse.mylyn.tasks-9822f140b5f034aced6a30295dba3ef8c8d30e54.tar.xz
org.eclipse.mylyn.tasks-9822f140b5f034aced6a30295dba3ef8c8d30e54.zip
RESOLVED - bug 242979: generate Eclipse help from wiki user guide
https://bugs.eclipse.org/bugs/show_bug.cgi?id=242979 Update to avoid need for XSL transform
-rw-r--r--org.eclipse.mylyn.help.ui/build-helper.xml16
-rw-r--r--org.eclipse.mylyn.help.ui/src/.empty0
2 files changed, 7 insertions, 9 deletions
diff --git a/org.eclipse.mylyn.help.ui/build-helper.xml b/org.eclipse.mylyn.help.ui/build-helper.xml
index 4d554b823..d83cacd92 100644
--- a/org.eclipse.mylyn.help.ui/build-helper.xml
+++ b/org.eclipse.mylyn.help.ui/build-helper.xml
@@ -46,7 +46,6 @@
help.doc.filenamenoextension="Mylyn Reference"
help.doc.url.base="${mylyn.help.doc.url.base}"
help.doc.pageName="Mylyn/User_Guide"
- help.doc.url.xml="${mylyn.help.doc.url.base}/Special:Export/Mylyn/User_Guide"
help.imagefolder="${imageFolder}"
targetfolder="userguide"
wiki.url.base="${mylyn.help.doc.url.base}/Mylyn"/>
@@ -59,18 +58,11 @@
<attribute name="help.doc.url.base"/>
<attribute name="wiki.url.base"/>
<attribute name="help.doc.pageName"/>
- <attribute name="help.doc.url.xml"/>
<attribute name="help.doc.filenameNoExtension"/>
<attribute name="help.imageFolder"/>
<attribute name="targetFolder"/>
<sequential>
- <get dest="tmp/help.doc.xml" src="@{help.doc.url.xml}"/>
- <copy todir="tmp">
- <fileset dir="images"/>
- </copy>
- <mediawiki-fetch-images dest="tmp" url="@{help.doc.url.base}" pageName="@{help.doc.pageName}"/>
-
- <xslt style="extract-markup.xsl" in="tmp/help.doc.xml" out="tmp/@{help.doc.filenameNoExtension}.mediawiki"/>
+ <get dest="tmp/@{help.doc.filenameNoExtension}.mediawiki" src="@{help.doc.url.base}/index.php?title=@{help.doc.pageName}&amp;action=raw"/>
<echo append="true" file="tmp/@{help.doc.filenameNoExtension}.mediawiki">
= Updating This Document =
@@ -78,6 +70,12 @@
This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit
@{help.doc.url.base}/@{help.doc.pageName}
</echo>
+
+ <copy todir="tmp">
+ <fileset dir="images"/>
+ </copy>
+ <mediawiki-fetch-images dest="tmp" url="@{help.doc.url.base}" pageName="@{help.doc.pageName}"/>
+
<wikitext-to-eclipse-help markupLanguage="org.eclipse.mylyn.wikitext.mediawiki.core.MediaWikiLanguage"
multipleOutputFiles="true"
diff --git a/org.eclipse.mylyn.help.ui/src/.empty b/org.eclipse.mylyn.help.ui/src/.empty
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/org.eclipse.mylyn.help.ui/src/.empty

Back to the top