| Summary: | mediawiki-to-eclipse-help task is not found | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Yves Savourel <yves> | ||||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Yves Savourel
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
|