Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Automated management of dependencies not working for e4 packages
Automated management of dependencies not working for e4 packages [message #997351] Sun, 06 January 2013 19:35
Shahim Essaid is currently offline Shahim EssaidFriend
Messages: 40
Registered: July 2009
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 {
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.

Previous Topic:Remove action item from context menu
Next Topic:how to customized Directory structure in project or package explorer view?
Goto Forum:

Current Time: Mon Jun 18 12:09:19 GMT 2018

Powered by FUDForum. Page generated in 0.01571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top