1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Error messages are redirected from console to log file

This commit is contained in:
Oleg Krasilnikov 2007-03-28 09:00:28 +00:00
parent 88ea27d319
commit 895b2db672
2 changed files with 4 additions and 2 deletions

View file

@ -27,6 +27,7 @@ import org.eclipse.cdt.managedbuilder.core.IConfiguration;
import org.eclipse.cdt.managedbuilder.core.IInputType;
import org.eclipse.cdt.managedbuilder.core.IResourceInfo;
import org.eclipse.cdt.managedbuilder.core.ITool;
import org.eclipse.cdt.ui.CUIPlugin;
import org.eclipse.cdt.ui.newui.CDTListComparator;
import org.eclipse.cdt.ui.newui.UIMessages;
import org.eclipse.cdt.utils.ui.controls.TabFolderLayout;
@ -372,10 +373,10 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
try {
cbi2.applyInfo(ic, bi1);
} catch (CoreException e) {
System.out.println(Messages.getString("DiscoveryTab.15") + e.getLocalizedMessage()); //$NON-NLS-1$
CUIPlugin.getDefault().log(e);
}
} else {
System.out.println(Messages.getString("DiscoveryTab.16")); //$NON-NLS-1$
CUIPlugin.getDefault().logErrorMessage(Messages.getString("DiscoveryTab.7")); //$NON-NLS-1$
}
}
}

View file

@ -37,6 +37,7 @@ DiscoveryTab.1=Per Resource type
DiscoveryTab.2=Configuration-wide
DiscoveryTab.3=Unknown
DiscoveryTab.6=No profiles found
DiscoveryTab.7=InfoContexts are different \!
ToolSelectionDialog.0=Select tools
ToolSelectionDialog.1=Available tools
ToolSelectionDialog.2=Used tools