Bug 336 - Convert to PDE Plugin failes when plugin.xml exists locally (1GKZN7Z)
Summary: Convert to PDE Plugin failes when plugin.xml exists locally (1GKZN7Z)
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 21:40 EDT by Dejan Glozic CLA
Modified: 2002-03-14 21:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2001-10-10 21:40:21 EDT
When plugin.xml exists locally and the java project is converted to PDE project
an error: plugin.xml exists locally appears and the project is not converted to 
PDE and it cannot be converted even after a "Refresh from Local is performed"


NOTES:
KJD (10/3/01 1:55:58 PM)
	Here is a .log snippet:
4 org.eclipse.pde 0 
A resource already exists on disk /home/kdriedge/C_Development/eclipse/workspace/com.ibm.dstore.miners/plugin.xml.
org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk /home/kdriedge/C_Development/eclipse/workspace/com.ibm.dstore.miners/plugin.xml.
        at org.eclipse.core.internal.resources.File.create(File.java:104)
        at org.eclipse.pde.internal.model.WorkspacePluginModelBase.save(WorkspacePluginModelBase.java:114)
        at org.eclipse.pde.internal.wizards.project.ConvertedProjectsPage.createManifestFile(ConvertedProjectsPage.java:249)
        at org.eclipse.pde.internal.wizards.project.ConvertedProjectsPage.convertProject(ConvertedProjectsPage.java:105)
        at org.eclipse.pde.internal.wizards.project.ConvertJavaToPDEProjectAction$1.execute(ConvertJavaToPDEProjectAction.java:37)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:59)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1187)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:73)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:229)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:274)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:335)
        at org.eclipse.pde.internal.wizards.project.ConvertJavaToPDEProjectAction.run(ConvertJavaToPDEProjectAction.java:49)
        at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:125)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:397)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:351)        at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:342)
        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:676)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:810)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:280)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
        at org.eclipse.core.launcher.Main.run(Main.java:433)
        at org.eclipse.core.launcher.Main.main(Main.java:306)
        4 org.eclipse.core.resources 
272 A resource already exists on disk /home/kdriedge/C_Development/eclipse/workspace/com.ibm.dstore.miners/plugin.xml.
Comment 1 DJ Houghton CLA 2001-10-24 07:09:01 EDT
PRODUCT VERSION:
Eclipse 0.137

Comment 2 Rodrigo Peretti CLA 2001-11-20 18:57:22 EST
Moving to PDE UI.
Comment 3 Dejan Glozic CLA 2002-03-14 21:01:22 EST
Fixed.