Community
Participate
Working Groups
Build Identifier: wikitext-standalone (org.eclipse.mylyn.wikitext.core_1.4.0.I20101110-1300-e3x.jar) when trying to run a mediawiki-to-eclipse-help task according the example in the documentation. Ant cannot find any adapter for that task. The tasks.properties list only tasks for wikitext-to-etc. Reproducible: Always Steps to Reproduce: 1. create an ant task with <mediawiki-to-eclipse-help wikiBaseUrl="http://wiki.eclipse.org" validate="true" ... etc. 2. run it. The taskdef seems to be defined ok (it find <wikitext-to-eclipse-help> task for example. 2. 3.
Thanks for the bug. Can you please attach your Ant build script? Also note that you'll need to have the org.eclipse.mylyn.wikitext.mediawiki*.jar in the classpath of your taskdef.
Created attachment 183723 [details] ant script Hi David, Here is the script. The error is: failed to create task or type mediawiki-to-eclipse-help Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. org.eclipse.mylyn.wikitext.mediawiki.core_1.4.0.I20101110-1300-e3x.jar is in the classpath But looking inside the jar I see only definition for the following tasks: wikitext-to-eclipse-help=org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToEclipseHelpTask wikitext-to-html=org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToHtmlTask wikitext-to-docbook=org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToDocbookTask wikitext-to-dita=org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToDitaTask wikitext-to-xslfo=org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToXslfoTask -ys
You'll need to add the following @<taskdef>@ to your Ant build script: bc. <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties"/> I've updated the documentation to include this information. Also you might be interested in this article: "DocumentationGuidelines/CrowdSourcingExample":http://wiki.eclipse.org/DocumentationGuidelines/CrowdSourcingExample (eclipse.org)
Created attachment 183883 [details] mylyn/context/zip