[jbosstools-issues] [JBoss JIRA] (JBIDE-19769) Check if the project is already present in the workspace
Lucia Jelinkova (JIRA)
issues at jboss.org
Wed May 6 06:52:45 EDT 2015
Lucia Jelinkova created JBIDE-19769:
---------------------------------------
Summary: Check if the project is already present in the workspace
Key: JBIDE-19769
URL: https://issues.jboss.org/browse/JBIDE-19769
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: easymport
Reporter: Lucia Jelinkova
At the moment the project is attempted to import even if it is already in the workspace. It is OK that it is detected but it should be marked as already imported in the wizard table and it should not be imported again.
At the moment, this is logged into Error log:
{code}
org.eclipse.ui.internal.wizards.datatransfer.CouldNotImportProjectException: Could not import project located at /home/ljelinko/workspaces/workspace/RemoteSystemsTempFiles
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.toExistingOrNewProject(OpenFolderCommand.java:294)
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.importProjectAndChildrenRecursively(OpenFolderCommand.java:222)
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.searchAndImportChildrenProjectsRecursively(OpenFolderCommand.java:173)
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.importProjectAndChildrenRecursively(OpenFolderCommand.java:230)
at org.eclipse.ui.internal.wizards.datatransfer.NestedProjectsWizardPage$10.run(NestedProjectsWizardPage.java:258)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/RemoteSystemsTempFiles' already exists.
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:313)
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:300)
at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:51)
at org.eclipse.core.internal.resources.Project.create(Project.java:268)
at org.eclipse.core.internal.resources.Project.create(Project.java:252)
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.createOrImportProject(OpenFolderCommand.java:331)
at org.eclipse.ui.internal.wizards.datatransfer.OpenFolderCommand.toExistingOrNewProject(OpenFolderCommand.java:285)
... 5 more
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list