Associating javadoc with a plugin [message #527284] |
Wed, 14 April 2010 16:23 |
Carusyte Missing name Messages: 27 Registered: July 2009 |
Junior Member |
|
|
I failed to associate a plugin containing javadoc for another plugin. Here's the detail:
I am using zest plugin, but since its update package(site) doesn't come with a separate javadoc plugin, I tried to generate one out of its source bundle via 'Project > Generate Javadoc...'. So far, the index.htm can be properly presented.
The reason I am doing this: CTRL+F2 on a class/method so that I can browse the javadoc in a browser, and as a plus I can wander around relevant APIs. It's more effective than simply reading from the popup javadoc info.
I noticed from some plugin within the platform that in order to achieve this I just have to create another plugin with "org.eclipse.pde.core.javadoc" extension point correctly implemented, and here's what I did:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.pde.core.javadoc">
<javadoc
path="reference/api">
<plugin
id="org.eclipse.zest.core">
</plugin>
</javadoc>
</extension>
</plugin>
The generated javadoc files was placed under '<JAVADOC_PLUGIN_PROJECT_ROOT>/reference/api' and is configured to be exported in the binary build:
bin.includes = META-INF/,\
plugin.xml,\
reference/
The exported plugin seems correctly structured. I put it under the plugin directory, restarted eclipse, checked that the plugin was recognized by the platform, but CTRL+F2 doesn't work.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03186 seconds