Home » Eclipse Projects » Mylyn » [Mediawiki] Errors with mediawiki-to-eclipse-help (FileNotFoundException while working with MediaWiki Templates )
[Mediawiki] Errors with mediawiki-to-eclipse-help [message #530136] |
Wed, 28 April 2010 15:43 |
Nicolas Guyomar Messages: 29 Registered: February 2010 Location: Nantes (France) |
Junior Member |
|
|
Hi,
I'm getting the following error for each templates on our wiki pages using template, like : http://wiki.eclipse.org/MoDisco/Components/ModelBrowser
( the tabItems : Overview, Documentation 0.7, 0.8 ... )
[mediawiki-to-eclipse-help] 28 avr. 2010 17:32:55 org.eclipse.mylyn.internal.wikitext.mediawiki.core.WikiTemplateResolver resolveTemplate
[mediawiki-to-eclipse-help] ATTENTION: Cannot read from http://wiki.eclipse.org/index.php?title=Template%3Amodiscojavatabs&action=raw: http://wiki.eclipse.org/index.php?title=Template%3Amodiscojavatabs&action=raw
[mediawiki-to-eclipse-help] java.io.FileNotFoundException: http://wiki.eclipse.org/index.php?title=Template%3Amodiscojavatabs&action=raw
[mediawiki-to-eclipse-help] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
and so on ....
This error is not a problem for my help content generation, but quite annoying because it fills the log file.
I had a quick look on the Eclipse wiki, it seems like not a lot a projects are using those templates.
Could it be ignore ? I insist on the fact that the help content is very well generated.
Regards
Nicolas
Nicolas Guyomar
http://www.eclipse.org/MoDisco/
http://www.eclipse.org/modeling/emft/facet/
|
|
|
Re: [Mediawiki] Errors with mediawiki-to-eclipse-help [message #530250 is a reply to message #530136] |
Thu, 29 April 2010 05:49 |
David Green Messages: 136 Registered: July 2009 |
Senior Member |
|
|
On 10-04-28 8:43 AM, Nicolas Guyomar wrote:
> Hi,
>
> I'm getting the following error for each templates on our wiki pages
> using template, like :
> http://wiki.eclipse.org/MoDisco/Components/ModelBrowser
> ( the tabItems : Overview, Documentation 0.7, 0.8 ... )
>
>
> [mediawiki-to-eclipse-help] 28 avr. 2010 17:32:55
> org.eclipse.mylyn.internal.wikitext.mediawiki.core.WikiTempl ateResolver
> resolveTemplate
> [mediawiki-to-eclipse-help] ATTENTION: Cannot read from
> http://wiki.eclipse.org/index.php?title=Template%3Amodiscoja vatabs&action=raw:
> http://wiki.eclipse.org/index.php?title=Template%3Amodiscoja vatabs&action=raw
>
> [mediawiki-to-eclipse-help] java.io.FileNotFoundException:
> http://wiki.eclipse.org/index.php?title=Template%3Amodiscoja vatabs&action=raw
>
> [mediawiki-to-eclipse-help] at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(U nknown Source)
>
> and so on ....
>
>
> This error is not a problem for my help content generation, but quite
> annoying because it fills the log file.
You can exclude template content by adding the following to your Ant build script:
<mediawiki-to-eclipse-help
templateExcludes="*modiscojavatabs*"
Templates that are excluded using this mechanism produce no output. From the documentation:
Indicate MediaWiki template names to exclude. A comma-delimited list of names, may include ‘*’ wildcards. Defaults to
null. Example: bug, navigationHeader
Please let me know if that works for you.
Regards,
David
> I had a quick look on the Eclipse wiki, it seems like not a lot a
> projects are using those templates.
>
> Could it be ignore ? I insist on the fact that the help content is very
> well generated.
>
> Regards
>
> Nicolas
|
|
| |
Re: [Mediawiki] Errors with mediawiki-to-eclipse-help [message #530470 is a reply to message #530271] |
Thu, 29 April 2010 17:48 |
David Green Messages: 136 Registered: July 2009 |
Senior Member |
|
|
Nicolas,
On 10-04-29 12:42 AM, Nicolas Guyomar wrote:
> Hi David
>
> Thank you for your answer.
>
> I didn't know this (new ?) option, I'm glad it exists.
>
> Unfortunately I tried different ways of using it but I still got the
> same exception
> I tried to indicate the 4 templates we have, as well as only the
> "modiscojavatabs", with and without stars (*)
> Case sensitivity for template's name doesn't solve the problem either
Please file a bug and on the bug if possible either attach your Ant build script or point to the source repository.
When you've done that, I'll look into the issue.
>
> <mediawiki-to-eclipse-help templateExcludes=" *modiscojavatabs*"
>
>
> <mediawiki-to-eclipse-help templateExcludes="*modiscoinfobox* ,
> *modiscojavatabs* , *modiscotab* , *modiscotabs*"
>
> I'm using your latest weekly build 1.3.0.I20100427-0000-e3x
>
> Regards,
> Nicolas
>
|
|
| |
Re: [Mediawiki] Errors with mediawiki-to-eclipse-help [message #601311 is a reply to message #530250] |
Thu, 29 April 2010 07:42 |
Nicolas Guyomar Messages: 29 Registered: February 2010 Location: Nantes (France) |
Junior Member |
|
|
Hi David
Thank you for your answer.
I didn't know this (new ?) option, I'm glad it exists.
Unfortunately I tried different ways of using it but I still got the same exception
I tried to indicate the 4 templates we have, as well as only the "modiscojavatabs", with and without stars (*)
Case sensitivity for template's name doesn't solve the problem either
<mediawiki-to-eclipse-help templateExcludes=" *modiscojavatabs*"
<mediawiki-to-eclipse-help templateExcludes="*modiscoinfobox* , *modiscojavatabs* , *modiscotab* , *modiscotabs*"
I'm using your latest weekly build 1.3.0.I20100427-0000-e3x
Regards,
Nicolas
Nicolas Guyomar
http://www.eclipse.org/MoDisco/
http://www.eclipse.org/modeling/emft/facet/
|
|
|
Re: [Mediawiki] Errors with mediawiki-to-eclipse-help [message #601324 is a reply to message #530271] |
Thu, 29 April 2010 17:48 |
David Green Messages: 96 Registered: July 2009 |
Member |
|
|
Nicolas,
On 10-04-29 12:42 AM, Nicolas Guyomar wrote:
> Hi David
>
> Thank you for your answer.
>
> I didn't know this (new ?) option, I'm glad it exists.
>
> Unfortunately I tried different ways of using it but I still got the
> same exception
> I tried to indicate the 4 templates we have, as well as only the
> "modiscojavatabs", with and without stars (*)
> Case sensitivity for template's name doesn't solve the problem either
Please file a bug and on the bug if possible either attach your Ant build script or point to the source repository.
When you've done that, I'll look into the issue.
>
> <mediawiki-to-eclipse-help templateExcludes=" *modiscojavatabs*"
>
>
> <mediawiki-to-eclipse-help templateExcludes="*modiscoinfobox* ,
> *modiscojavatabs* , *modiscotab* , *modiscotabs*"
>
> I'm using your latest weekly build 1.3.0.I20100427-0000-e3x
>
> Regards,
> Nicolas
>
|
|
| |
Goto Forum:
Current Time: Thu Mar 28 08:20:57 GMT 2024
Powered by FUDForum. Page generated in 0.02185 seconds
|