aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy Bishop2013-01-25 14:35:27 (EST)
committerPaul Webster2013-01-25 14:35:27 (EST)
commitfd05dadbcd7ee4e126cd2e44e1582c2a263afd14 (patch)
tree4c057629931acc3e756271e4f55f304a61beee75
parent13ea62410aff94f6d2c4d52679a4e8ae581e48d9 (diff)
downloadeclipse.platform.ui-fd05dadbcd7ee4e126cd2e44e1582c2a263afd14.zip
eclipse.platform.ui-fd05dadbcd7ee4e126cd2e44e1582c2a263afd14.tar.gz
eclipse.platform.ui-fd05dadbcd7ee4e126cd2e44e1582c2a263afd14.tar.bz2
Bug 355049 - [Import/Export] Importing a project containing a linkedv20130125-193527I20130128-0800I20130127-2000
resource will dereference that linked resource Don't export the link
-rw-r--r--bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ArchiveFileExportOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ArchiveFileExportOperation.java b/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ArchiveFileExportOperation.java
index 9504059..7798540 100644
--- a/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ArchiveFileExportOperation.java
+++ b/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ArchiveFileExportOperation.java
@@ -186,7 +186,7 @@ public class ArchiveFileExportOperation implements IRunnableWithProgress {
*/
protected void exportResource(IResource exportResource, int leadupDepth)
throws InterruptedException {
- if (!exportResource.isAccessible()) {
+ if (!exportResource.isAccessible() || exportResource.isLinked()) {
return;
}