Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Evoy2004-05-12 14:41:53 -0400
committerSean Evoy2004-05-12 14:41:53 -0400
commit1f6a68d59610a86b29e9fe44d2b668ce771c7f80 (patch)
tree8dcda1c7819c31173a0ffd0d0bda9486e39226ed /build/org.eclipse.cdt.managedbuilder.core
parent4b552f7499d3343cf40c9927134ac63cae9f380d (diff)
downloadorg.eclipse.cdt-1f6a68d59610a86b29e9fe44d2b668ce771c7f80.tar.gz
org.eclipse.cdt-1f6a68d59610a86b29e9fe44d2b668ce771c7f80.tar.xz
org.eclipse.cdt-1f6a68d59610a86b29e9fe44d2b668ce771c7f80.zip
Commit for Dave Daoust removing a problem with the BootLoader call to figure out the OS.
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
index f538c1d4cba..de5f9b5736a 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
@@ -26,8 +26,8 @@ import org.eclipse.cdt.managedbuilder.core.IManagedConfigElement;
import org.eclipse.cdt.managedbuilder.core.ITarget;
import org.eclipse.cdt.managedbuilder.core.ITool;
import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
-import org.eclipse.core.boot.BootLoader;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.Platform;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -671,7 +671,7 @@ public class Target extends BuildObject implements ITarget {
return parent.getCleanCommand();
} else {
// User forgot to specify it. Guess based on OS.
- if (BootLoader.getOS().equals("OS_WIN32")) { //$NON-NLS-1$
+ if (Platform.getOS().equals("OS_WIN32")) { //$NON-NLS-1$
return new String("del"); //$NON-NLS-1$
} else {
return new String("rm"); //$NON-NLS-1$

Back to the top