News, updates, tips, tricks NetBeans Core QA

Tuesday Jul 15, 2008

Petr created two new plugins for wiki.netbeans.org. It took us a while to get them to the running wiki however they are finally working.
  • IssuezillaLinkPlugin
    Creates link to bug report in issuezilla. It simplifies the link creation.
    Pattern: [{IZ num=123123}] Result will be text "Issue 123123" that links to the issue 123123 in NetBeans issuezilla.
    More info at plugin page
  • NBImportPlugin
    It allows you to import a text/source code from netbean.org domain. There exist plenty of other import plugins for the JSPWiki however we wanted to restrict the import to the netbeans.org sites.
    Pattern: [{NBImportPlugin url='http://foo.netbeans.org/foo.bar'}] Result will be imported page foo.bar. Please note that the imported text is in pre tags.
    More info at plugin page
Comments:

Hi,

Do we have these options in WikiWizard, or we need to use it in plain editor?

Thanks!

Posted by Varun on July 15, 2008 at 08:15 PM CEST #

Do we have support for making the plugins as stated above using NetBeans?

If yes, any pointers?

Posted by Varun on July 15, 2008 at 08:21 PM CEST #

this post isn't about support for development of wiki plugins but about new plugins deployed at wiki.nb.org. If you are interested in NB plugins development start at http://platform.netbeans.org/

AFAIK, there isn't any special support for wiki plugins creation in NB IDE. However it should be simple. Petr as the developer responsible for this new wiki plugins can collaborate more on the topic - a new blog entry?

Posted by Lukas on July 15, 2008 at 10:30 PM CEST #

I'll write a short tutorial about JSPWiki plugins if you're interested. It is easier than it looks. Maybe I'll post it to my weblog - I don't see much connection with NetBeans platform topic ;-).

Posted by Petr on July 15, 2008 at 10:58 PM CEST #

The idea of an NBImportPlugin is cool, but I don't understand the usecase, is it only for source code? You can't really use it to include, say, html pages, because the two stylesheets just clash horribly. (Even if you use testwww.netbeans.org for the link to avoid the navigational frame, the result is hard to read.)

Posted by Seapegasus on July 16, 2008 at 05:19 PM CEST #

Our idea was to restrict is as much as possible to avoid unwanted or too complex pages being added to wiki. So the imported page is closed to <pre> tags. Our only use case was to include the source code and other files from NetBeans mercurial repository.
Do you have other use cases for inserting pages from netbeans.org domain?

Posted by Petr on July 16, 2008 at 06:01 PM CEST #

OK, I can't think of anything else I would want to include from nb.org, and I understand the restriction. It's just that the foo.netbeans.org example that you used on the wiki page above doesn't exactly advertise the strengths of the plugin; you could change the example to a source file to make its purpose clear on the first look. Well, thanks for writing these, I didn't know it was relatively easy to add features to JSPwiki.

Posted by Seapegasus on July 16, 2008 at 06:25 PM CEST #

plugin page was updated ;) Thanks for comments, Ruth.

Posted by Lukas on July 17, 2008 at 10:41 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed