Dave,

When you use the Restlet JARs as Eclipse plugins, you don't see the
Javadocs/sources and can't specify manually their location. However, if you
import them as raw JAR libraries, then you are able to associate a source
directory and a Javadocs location.

After investigation, it is possible to automatically specify this info for
binary plugins by addind a "source" plugin in Eclipse. This plugin contains
the sources and the location of the Javadocs. In beta 21, I will
automatically generate this "org.restlet.source" plugins and make it contain
all the sources and Javadocs. I will also rename "lib" to "plugins" and
remove "src" and "docs" to prevent content duplication. 

As a result, usage of Restlets with Eclipse will be simplified:
 - copy the "plugins" directory into "%ECLIPSE_HOME%/plugins"
 - create a new plugin for your application
 - declare the plugin dependencies (org.restlet, com.noelios.restlet, etc.)
 - then directly import the Restlet classes in your source code
 - SHIFT+F2 will display the Javadoc of the selected class/method in a
browser (internal or external)
 - F3 will display the source of the selected class/method
 - hovering over a class will display the Javadoc description as a bubble
help

As for Netbeans, there must be a way to achieve a similar result. If someone
has the time to investigate it, that would be useful.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Dave Pawson [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 9 novembre 2006 13:55
> À : [email protected]
> Objet : netbeans. Minor niggle.
> 
> Using netbeans (instead of Eclipse)
> the javadoc is missing from the context sensitive help.
> 
> I *think* this can be resolved by zipping up the sources 
> within the jar file.
> Is this available in Eclipse please
> 
> 
> regards
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk

Reply via email to