Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Removing some plugins from Target Platform stops it from finding other unrelated plugins
Removing some plugins from Target Platform stops it from finding other unrelated plugins [message #713873] Tue, 09 August 2011 09:01
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
I have a target platform like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="Main Target" sequenceNumber="2">
<locations>
<location path="${eclipse_home}" type="Profile"/>
<location path="${eclipse_home}/deltapack/eclipse" type="Profile"/>
<location path="${workspace_loc}/ARM/arm_resources" type="Directory"/>
<location path="${workspace_loc}/ARM/arm_resources/babel/eclipse" type="Directory"/>
</locations>
<environment>
<nl>ru</nl>
</environment>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
</target>


This works perfectly. However, when I uncheck some third-party plugins (in particular, fragments which I really don't want included in my product) in the target editor, I get:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="Main Target" sequenceNumber="2">
<locations>
<location path="${eclipse_home}" type="Profile"/>
<location path="${eclipse_home}/deltapack/eclipse" type="Profile"/>
<location path="${workspace_loc}/ARM/arm_resources" type="Directory"/>
<location path="${workspace_loc}/ARM/arm_resources/babel/eclipse" type="Directory"/>
</locations>
<includeBundles>
...
<plugin id="org.eclipse.swt.gtk.linux.x86" version="3.7.0.v3735b"/>
...
<plugin id="org.eclipse.swt>
...
</includeBundles>
<environment>
<nl>ru</nl>
</environment>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
</target>

As you can see, SWT plugin and the proper fragment for the platform are present. But when compiling any project, I get errors like
Quote:

error while loading TableViewer, Missing dependency 'class org.eclipse.swt.widgets.Composite', required by /home/aromanov/eclipse/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar(org/eclipse/jface/viewers/TableViewer.class)

Is there an explanation and workaround for this problem?
Previous Topic:On install plugin not visible in the "Open Perspective" nor "Show View" menus
Next Topic:Why does a run configuration include unexpected plugins?
Goto Forum:
  


Current Time: Tue Sep 23 16:34:49 GMT 2014

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

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