Automated management of dependencies not working for e4 packages [message #997351] |
Sun, 06 January 2013 14:35 |
Eclipse User |
|
|
|
Hi All,
Can someone please try to reproduce the following problem? It looks like a bug but I would like to confirm it before reporting a bug. I tried a fresh install of SDK 4.2.1 Build id: M20120914-1800 on Windows 7 64 bits and Java 7.
When I use an E4 class and add the corresponding bundle to the "Automated Management of Dependencies", the "add dependencies" doesn't recognize the bundle or package dependency. However, if I add all the packages to the "Imported Packages" list and then do a "Find unused dependencies" the results are as expected. In other words, the "analyze and add..." doesn't recognize the dependency but the "Find unused..." does.
To reproduce this, create a new plugin project and add a class like:
package example;
import org.eclipse.e4.core.contexts.IEclipseContext;
import org.eclipse.e4.ui.workbench.lifecycle.ProcessAdditions;
public class Example {
@ProcessAdditions
public void execute(IEclipseContext context) {
}
}
The @ProcessAdditions is from the e4.ui.workbench bundle and the e4.ui.workbench.lifecylcle package. The IEclipseContext is from the e4.core.contexts bundle and the e4.core.contexts package.
If I remove the above two bundles and packages from the manifest, the compiler shows appropriate errors but the automated management of dependencies tool doesn't seem to recognize this dependency.
Best,
Shahim
|
|
|
Powered by
FUDForum. Page generated in 0.03271 seconds