Community
Participate
Working Groups
Build Identifier: I20110310-1119 When creating activator in a plugin project via the Manifest editor the activator class is opened asking for an import of some packages. After importing the rqeuired packages the "Bundle-Activator" header in the manifest file is removed. Reproducible: Always Steps to Reproduce: 1. Create new plugin project via File->New->Plugin Development->Plug-ing project 2. Don't create an activator (deselect the checkbox "Generate an activator, a Java class the controls the plug-in's lifecycle) 3. Open generated MANIFEST.MF file (should be opened via Manifest editor). 4. In section "General information" click on "Activator" link to create an activator. New java class wizard appears. 5. Enter needed information -for example enter only the class name - Activator1 and click on button Finish. The Activator1.java class should be opened for edit. 6. Import of org.osgi.framework.BundleActivator is not recognized, that's why via quick fix select "Add 'org.osgi.framework'" option. 7. Again via quick fix, put some implementation for required methods (start,stop) 8. Open Manifest.mf file via text editor. Expected: There must be a header "Bundle-Activator" Actual: The header "Bundle-Activator" is missing.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.