Eclipse plugin will not be changed from RESOLVED to ACTIVE

I have an Eclipse plugin plugin that I created that will not go from RESOLVED to ACTIVE.

I tried to open the OSGI console to understand why the package does not start, but there are no problems. If I type "start bundleid", then it starts as you expected.

The package uses the extension point 'org.eclipse.ui.startup'that I use to complete the task while starting the Eclipse workspace.

This is manifested in the use of:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: My Bundle
Bundle-SymbolicName: com.joejag.bundle;singleton:=true
Bundle-Version: 1.1.0.qualifier
Bundle-Activator: com.joejag.bundle.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.core.resources
Bundle-Vendor: Joejag
Bundle-RequiredExecutionEnvironment: J2SE-1.5

The package is intended for use by others. Therefore, asking them to launch the OSGI console and manually launch the package is not a viable solution.

, , . Wiki Eclipse.

+3
2

, , p2, p2.inf. .

p2.inf :

instructions.configure = setStartLevel(startLevel:4);
markStarted(started: true);

p2.inf .

+5

, Eclipse!? , , Eclipse , "". " " true .

+1

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


All Articles