Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348222

Summary: E4 wizard might need manifest adjusted
Product: [Eclipse Project] e4 Reporter: Paul Webster <pwebster>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen, tjwatson, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Paul Webster CLA 2011-06-03 10:50:16 EDT
see bug 348123

It seems like our best practice here is to have our Eclipse 4/Eclipse 4.1 projects specify:

Import-Package: javax.annotation;version="1.0.0",
 javax.inject;version="1.0.0",

It looks like the code in org.eclipse.e4.internal.tools.wizards.project.E4NewProjectWizard.performFinish() sets a require-bundle on javax.inject, and doesn't mention javax.annotation at all.

How can we modify this to generate import-package instead?

PW
Comment 1 Paul Webster CLA 2011-06-03 11:08:51 EDT
It looks like we need to add code in adust manifest to mimic some of the work done in org.eclipse.pde.internal.ui.wizards.plugin.NewProjectCreationOperation.createManifest(IProject) and add to it.

PW
Comment 2 Eclipse Genie CLA 2018-12-07 03:42:36 EST
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.
Comment 3 Lars Vogel CLA 2019-06-05 07:47:55 EDT
This is a mass change to close all e4 bugs marked with "stalebug" whiteboard.

If this bug is still valid, please reopen and remove the "stalebug" keyword.