[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] 'Name Collision' error occurs during building of PDE Project

I'm having problems with PDE calculating my build path correctly.  I've
created a new PDE Project and than imported my plugin source.  This
plugin depends on several external plugins.  In the "Dependencies" Page
of my plugin.xml, i see the required external plugins checked. However,
when I explicitly select "Compute Build Path" in the popup menu on the
"Dependencies" Page, a pop-up window appears saying "Name collision".
If i look at my stack trace, it shows the following.  Note that this
plugin works fine in VAJ and i'm trying this out in R0.9 of Eclipse.

4 org.eclipse.pde 0 Name collision.
Java Model Exception: Java Model Status [Name collision.]
 at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:1507)

 at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:1491)

 at
org.eclipse.pde.internal.base.BuildPathUtil.setBuildPath(BuildPathUtil.java:146)

 at
org.eclipse.pde.internal.editor.manifest.PluginListSection$6.run(PluginListSection.java:220)

 at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249)
 at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:335)

 at
org.eclipse.pde.internal.editor.manifest.PluginListSection.computeBuildPath(PluginListSection.java:234)

 at
org.eclipse.pde.internal.editor.manifest.PluginListSection.access$4(PluginListSection.java:212)

 at
org.eclipse.pde.internal.editor.manifest.PluginListSection$7.run(PluginListSection.java:295)

 at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:408)

 at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:362)

 at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:353)

 at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)

 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
 at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled
Code))
 at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled
Code))
 at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled
Code))
 at org.eclipse.ui.internal.Workbench.run(Workbench.java:622)
 at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815)

 at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:119)
 at org.eclipse.core.launcher.Main.run(Main.java:401)
 at org.eclipse.core.launcher.Main.main(Main.java:274)
 4 org.eclipse.jdt.core 977 Name collision.

Thanks.
Sandy Minocha