How to download the eclipse plugin

I recently developed the Eclipse plugin, however the plugin does not seem to load in Eclipse (3.4.2). If I go to

Help > About Eclipse Platform > Configuration Details

I see the plugin is specified

file:/C:/Program Files/eclipse/ganymede/plugins/de.vogella.plugin.htmlconverter_1.0.0.jar

However, it does not work. I know that the plugin was implemented correctly, as if I right-clicked on the project ( de.vogella.plugin.htmlconverter) and select Run Eclipse Application, then a new Eclipse starts and the pop-up menu that was implemented works. Why it doesn't work when I export a project from Eclipse and put it in the plugins directory.

I tried this on both Windows XP and Mac OS X to no avail, if I check the JAR, I see all the necessary artifacts.

META-INF/
META-INF/MANIFEST.MF
de/
de/vogella/
de/vogella/plugin/
de/vogella/plugin/htmlconverter/
de/vogella/plugin/htmlconverter/handler/
src/
src/de/
src/de/vogella/
src/de/vogella/plugin/
src/de/vogella/plugin/htmlconverter/
src/de/vogella/plugin/htmlconverter/handler/
de/vogella/plugin/htmlconverter/Activator.class
de/vogella/plugin/htmlconverter/handler/Convert.class
plugin.xml

My MANIFEST.MFalso looks like this

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Htmlconverter Plug-in
Bundle-SymbolicName: de.vogella.plugin.htmlconverter;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: de.vogella.plugin.htmlconverter.Activator
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.co
 re.resources;bundle-version="3.4.0",org.eclipse.jdt.core;bundle-versi
 on="3.4.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: org.osgi.framework;version="1.3.0"
Export-Package: de.vogella.plugin.htmlconverter;uses:="org.osgi.framew
 ork,org.eclipse.ui.plugin",de.vogella.plugin.htmlconverter.handler;us
 es:="org.eclipse.core.commands,org.eclipse.core.resources,org.eclipse
 .core.runtime"

, . , , , Eclipse. , .
Eclipse, , .

, Eclipse, . , MANIFEST.MF , MANIFEST.MF, , Eclipse

- ?

+3
2

eclipse3.4, eclipse .
Eclipse p2

alt text
(: jroller.com)

.

, , config.ini.

" Generate a default config.ini file " , .


:

3.5, 3.4.x??

p2 3.4 (3.4M6) .
p2 3.5 .

, " 3.4.0 p2 / ", ( ):

  • p2 Eclipse (M6). .
  • p2

( 4000, 3.5, ...)

, eclipse3.5, p2.


:

3.4.x,

, pre-p2, p2 .
( 3.4):

[eclipse]\links\myplugins.link file
content:
path=C:/my/eclipse/plugins

( 3.5 eclipse.ini, eclipse.ini)

, , ClearCase:

 myPlugins
   my.plugin.x.y.z
     eclipse
       features 
          ...
       plugins
          ...

jar my.plugin.xyz, , jar myPlugins. ( )

+4

, : http://www.vogella.de/articles/EclipsePlugIn/article.html

p2 3,4 3,5. . , Eclipse 3.5. 3.5, p2 3.4 p2, .

+7

Source: https://habr.com/ru/post/1732526/


All Articles