Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Javadocs as OSGi Bundle?
Javadocs as OSGi Bundle? [message #505387] Wed, 30 December 2009 00:02 Go to next message
Ralf Zahn is currently offline Ralf Zahn
Messages: 32
Registered: July 2009
Member
Hi,

I have an external library that is available as OSGi bundle. I do not
have any sources, but I have the Javadoc, that I want to make available
within the Plugin-Dependencies Container. How do the PDE Tools resolve
the Javadoc?

Is it possible to package the Javadocs as an OSGi bundle like it is
possible with sources? If so, which Bundle headers do exist?

Greetings from Germany,
Ralf
Re: Javadocs as OSGi Bundle? [message #505436 is a reply to message #505387] Wed, 30 December 2009 10:49 Go to previous message
Ralf Ebert is currently offline Ralf Ebert
Messages: 72
Registered: July 2009
Member
Hi Ralf,

> Is it possible to package the Javadocs as an OSGi bundle like it is
> possible with sources? If so, which Bundle headers do exist?

I just tried to do this, but I'm sorry, I could not get it working. Maybe this
helps you with finding a solution:

Theoretically, JavaDocs in a folder named doc/ in the plug-in jar are meant to
contain JavaDocs, but putting them there doesn't enable the JavaDocs for me.
They are handled and found by the PDE JavadocLocationManager
http://dev.eclipse.org/viewcvs/index.cgi/pde/ui/org.eclipse. pde.core/src/org/eclipse/pde/internal/core/JavadocLocationMa nager.java?view=markup

but then not used.

Also, there is an extension point "org.eclipse.pde.core.javadoc" which allows to
associate plug-ins with javadoc locations.

Greetings,

Ralf


--
http://www.ralfebert.de/blog/eclipsercp/
Previous Topic:Help on the Common Navigator Framework
Next Topic:Eclipse product export missing executable binary
Goto Forum:
  


Current Time: Tue Jul 29 10:50:04 EDT 2014

Powered by FUDForum. Page generated in 1.22199 seconds