1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

remove console mode, not used

This commit is contained in:
David Inglis 2003-04-21 17:09:03 +00:00
parent 445d0d51ee
commit 8213a68d1c
2 changed files with 0 additions and 25 deletions

View file

@ -17,7 +17,6 @@ public class MakeUtil {
final static String MAKE_GOALS = "goals";
final static String MAKE_DIR = "buildir";
final static String MAKE_CONSOLE_MODE = "consoleMode";
final static String TARGET_ID = "org.eclipse.cdt.make";
public static String [] decodeTargets (String property) {
@ -55,11 +54,6 @@ public class MakeUtil {
return new QualifiedName(TARGET_ID, MAKE_DIR);
}
public static QualifiedName getQualifiedNameConsoleMode () {
return new QualifiedName(TARGET_ID, MAKE_CONSOLE_MODE);
}
public static String getSessionTarget(IResource resource) {
try {
String property = (String)resource.getSessionProperty(getQualifiedNameTarget());
@ -123,24 +117,6 @@ public class MakeUtil {
}
}
public static void setSessionConsoleMode(IResource resource, boolean mode) {
try {
resource.setSessionProperty(getQualifiedNameConsoleMode(),
new Boolean(mode));
} catch (CoreException e) {
}
}
public static boolean getSessionConsoleMode(IResource resource) {
try {
Boolean b = (Boolean)resource.getSessionProperty(getQualifiedNameConsoleMode());
if(null != b)
return b.booleanValue();
} catch (CoreException e) {
}
return true; // Clean console before session
}
public static void addPersistentTarget(IResource resource, String target) {
String[] targets = MakeUtil.getPersistentTargets (resource);
for (int i = 0; i < targets.length; i++) {

View file

@ -199,7 +199,6 @@ public class CBuildConfigView extends ViewPart implements IResourceChangeListene
try {
MakeUtil.setSessionBuildDir(m_prj, m_prj.getLocation().toOSString());
MakeUtil.setSessionTarget(m_prj, m_target);
MakeUtil.setSessionConsoleMode(m_prj, true);
m_prj.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
}
catch (CoreException e) { }