Project: JDT
Bug 185527 [build path] CE when creating new project on not existing drive
Reported: 2007-05-04 08:21:04 | Status: verified fixed

I20070503-1400 1. Open new Project Wizard 2. Type in a name for the project 3. Select 'Create project from existing source' 4. As Directory type 'k:\' (if k does not exist) 5. Finish Is: Java Model Exception: Core Exception [code 276] Cannot create file because existing file of wrong type exists: K:\. at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:50) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4466) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java