Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Crowdsourcing wikitext from confluence source?(Missing support for Confluence)
Crowdsourcing wikitext from confluence source? [message #529646] Mon, 26 April 2010 15:50 Go to next message
Dan Bourque is currently offline Dan Bourque
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/tasks.properties"/>

...and I've included the following .jar:
org.eclipse.mylyn.wikitext.confluence.core_1.3.0.I20100416-0600-e3x.jar

...but I get the following error:
[taskdef] Could not load definitions from resource org/eclipse/mylyn/internal/wikitext/confluence/core/tasks/tasks.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 #529665 is a reply to message #529646] Mon, 26 April 2010 16:06 Go to previous message
David Green is currently offline David Green
Messages: 135
Registered: July 2009
Senior 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:Crowdsourcing wikitext from confluence source?
Goto Forum:
  


Current Time: Tue Sep 16 19:32:56 GMT 2014

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

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