Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 167617 Details for
Bug 279781
[Import/Export] Recursive addition problem in Import > Existing projects into workspace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Checks for overlapping workspace/project location
RecursiveImport-279781.patch (text/plain), 1.19 KB, created by
Alex Freidin
on 2010-05-09 03:15:56 EDT
(
hide
)
Description:
Checks for overlapping workspace/project location
Filename:
MIME Type:
Creator:
Alex Freidin
Created:
2010-05-09 03:15:56 EDT
Size:
1.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java,v >retrieving revision 1.57 >diff -u -r1.57 WizardProjectsImportPage.java >--- src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java 25 May 2009 20:52:03 -0000 1.57 >+++ src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java 9 May 2010 06:58:59 -0000 >@@ -1353,6 +1353,12 @@ > // if location is null, project already exists in this location or > // some error condition occured. > if (locationURI != null) { >+ // validate the location of the project being copied >+ IStatus result = ResourcesPlugin.getWorkspace().validateProjectLocationURI(project, >+ locationURI); >+ if(!result.isOK()) >+ throw new InvocationTargetException(new CoreException(result)); >+ > importSource = new File(locationURI); > IProjectDescription desc = workspace > .newProjectDescription(projectName);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279781
:
138801
| 167617