|Re: Crowdsourcing wikitext from confluence source? [message #529665 is a reply to message #529646]
||Mon, 26 April 2010 16:06
| David Green
Registered: July 2009
On 10-04-26 8:50 AM, Dan Bourque wrote:
> I enjoyed the crowdsourcing presentation at EclipseCon2010.
> ( http://wiki.eclipse.org/DocumentationGuidelines/CrowdSourcin gExample)
> I'm interested in leveraging this, but I've hit a snag. Apparently, the
> confluence component doesn't yet define the tasks.properties needed by
> the ant build script.
The crowdsourcing example as written only works for wikis based on MediaWiki, not Confluence.
> In the Ant script, I use:
> <taskdef classpathref="wikitext.tasks.classpath"
> resource=" org/eclipse/mylyn/internal/wikitext/confluence/core/tasks/ta sks.properties "/>
I'm not sure where you got that resource path from, the org.eclipse.mylyn.wikitext.confluence.core bundle doesn't define
any Ant tasks.
> ..and I've included the following .jar:
> org.eclipse.mylyn.wikitext.confluence.core_1.3.0.I20100416-0 600-e3x.jar
> ..but I get the following error:
> [taskdef] Could not load definitions from resource
> org/eclipse/mylyn/internal/wikitext/confluence/core/tasks/ta sks.properties.
> It could not be found.
> Am I doing something wrong, or should I file a bug against
Mylyn WikiText can generate Eclipse Help from Confluence markup, however the markup must exist on the local filesystem.
To make this work with your wiki, you may be able to download raw wiki markup from Confluence using the Ant <get> task.
If you figure out how to do that, please consider posting your solution here.
Contributions are welcome in this area, it would be great to have Ant tasks that download markup and images from
Confluence as we currently have for MediaWiki.
Please refer to the documentation, which is included with the standalone download.
(http://www.eclipse.org/mylyn/downloads) The documentation describes all of the Ant tasks that are available and should
also provide examples for things like taskdefs.
You may also want to take a look at the org.eclipse.mylyn.wikitext.help.ui bundle project which has an example build
file that generates help content from Textile markup. By switching 'Textile' to 'Confluence' in that build script and
adding the org.eclipse.mylyn.wikitext.confluence.core jar to your classpath you'll be able to adapt it to generate from
Powered by FUDForum
. Page generated in 0.01702 seconds