Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Crowdsourcing wikitext from confluence source?
Crowdsourcing wikitext from confluence source? [message #601222] Mon, 26 April 2010 15:50 Go to next message
Dan Bourque is currently offline Dan BourqueFriend
Messages: 9
Registered: July 2009
Junior Member
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.

In the Ant script, I use:
<taskdef classpathref="wikitext.tasks.classpath" resource=" org/eclipse/mylyn/internal/wikitext/confluence/core/tasks/ta sks.properties "/>
...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 org.eclipse.mylyn.wikitext.confluence.core?

Cheers,
Dan.
Re: Crowdsourcing wikitext from confluence source? [message #601234 is a reply to message #601222] Mon, 26 April 2010 16:06 Go to previous message
David Green is currently offline David GreenFriend
Messages: 96
Registered: July 2009
Member
Dan,

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
> org.eclipse.mylyn.wikitext.confluence.core?

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
Confluence markup.

Regards,

David
>
> Cheers,
> Dan.
Previous Topic:Help: Bugzilla 3.4.4 http works - Mylyn Connect: Connection Refused
Next Topic:Mantis 404
Goto Forum:
  


Current Time: Fri Apr 19 10:43:15 GMT 2024

Powered by FUDForum. Page generated in 0.02329 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top