Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authortmadan2011-07-17 05:12:57 -0400
committertmadan2011-07-17 05:41:03 -0400
commite6b07afaf6e6ef100cbc5d09fa8442a0718c3c96 (patch)
tree61480f4c2e07d15a03017ccb2443a5dcd9b783a7 /debug
parent9c9c692df50e5a9eb91b41cc86f57212afd78ef9 (diff)
downloadorg.eclipse.cdt-e6b07afaf6e6ef100cbc5d09fa8442a0718c3c96.tar.gz
org.eclipse.cdt-e6b07afaf6e6ef100cbc5d09fa8442a0718c3c96.tar.xz
org.eclipse.cdt-e6b07afaf6e6ef100cbc5d09fa8442a0718c3c96.zip
Bug 345151 - Executable View should create virtual folders when
importing executables
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/executables/StandardExecutableImporter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/executables/StandardExecutableImporter.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/executables/StandardExecutableImporter.java
index b1761fa209..056689e36e 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/executables/StandardExecutableImporter.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/executables/StandardExecutableImporter.java
@@ -31,6 +31,7 @@ import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
@@ -143,7 +144,7 @@ public class StandardExecutableImporter implements IExecutableImporter {
for (int i = 0; i < segmentCount; i++) {
currentFolder = currentFolder.getFolder(new Path(path.segment(i)));
if (!currentFolder.exists()) {
- ((IFolder) currentFolder).create(false, true, new NullProgressMonitor());
+ ((IFolder) currentFolder).create(IResource.VIRTUAL | IResource.DERIVED, true, new NullProgressMonitor());
}
}

Back to the top