Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Macguire2002-05-31 20:06:58 +0000
committerKevin Macguire2002-05-31 20:06:58 +0000
commit11cd5983b9184fb44614a8a235060949f3e2fda0 (patch)
tree39fdbdd2bd520851be13a34b0505fe4bf1f5b8b1 /bundles
parenta147ac890588969fb4d93f40683ae69515e8d568 (diff)
downloadeclipse.platform.team-11cd5983b9184fb44614a8a235060949f3e2fda0.tar.gz
eclipse.platform.team-11cd5983b9184fb44614a8a235060949f3e2fda0.tar.xz
eclipse.platform.team-11cd5983b9184fb44614a8a235060949f3e2fda0.zip
*** empty log message ***
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/target/TargetManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/target/TargetManager.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/target/TargetManager.java
index 69e4ec4d6..774e18ced 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/target/TargetManager.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/target/TargetManager.java
@@ -94,7 +94,8 @@ public class TargetManager {
TARGET_MAPPINGS,
project,
mapping.encode());
- } catch (CoreException e) {
+ project.setPersistentProperty(new QualifiedName("org.eclipse.team", "target"), "basic");
+ } catch (CoreException e) {
throw new TeamException(Policy.bind("TargetManager.Problems_mapping_project", project.getName()), e); //$NON-NLS-1$
} catch (IOException e) {
throw new TeamException(Policy.bind("TargetManager.Problems_mapping_project", project.getName()), e); //$NON-NLS-1$
@@ -115,6 +116,7 @@ public class TargetManager {
provider.deregister(project);
s.flushSyncInfo(TARGET_MAPPINGS, project, IResource.DEPTH_ZERO);
}
+ project.setPersistentProperty(new QualifiedName("org.eclipse.team", "target"), null); // null arg removes
} catch (CoreException e) {
throw new TeamException(Policy.bind("TargetManager.problemsUnmapping", project.getName()), e); //$NON-NLS-1$
}

Back to the top