Summary: | name collision error importing org.eclipse.ui+org.eclipse.ui.win32 plug-ins at same time | ||
---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Jim des Rivieres <jeem> |
Component: | UI | Assignee: | Dejan Glozic <dejan> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Jim des Rivieres
2002-05-08 01:52:00 EDT
Can you verify that this is not the same problem as with SWT? Check that the same library is not listed twice (once in UI plugin.xml and again in win32 fragment.xml). There are no signs of this. fragment.xml ================== <?xml version="1.0" encoding="UTF-8"?> <fragment id="org.eclipse.ui.win32" name="%fragmentName" version="1.9.0" plugin-id="org.eclipse.ui" plugin-version="1.9.0"> <runtime> <library name="workbenchwin32.jar"> <export name="*"/> </library> </runtime> </fragment> ================== plugin.xml begins ================== <?xml version="1.0" encoding="UTF-8"?> <plugin id="org.eclipse.ui" name="%Plugin.name" version="1.9.0" provider-name="Object Technology International, Inc." class="org.eclipse.ui.internal.WorkbenchPlugin"> <runtime> <library name="workbench.jar"> <export name="*"/> </library> </runtime> <requires> <import plugin="org.apache.xerces"/> <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.update.core"/> <import plugin="org.eclipse.help"/> <import plugin="org.eclipse.swt" export="true"/> </requires> ... ================== Found it. Added checks to avoid duplicate entries while computing the classpath. |