mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Error messages are redirected from console to log file
This commit is contained in:
parent
88ea27d319
commit
895b2db672
2 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,7 @@ import org.eclipse.cdt.managedbuilder.core.IConfiguration;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IInputType;
|
import org.eclipse.cdt.managedbuilder.core.IInputType;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IResourceInfo;
|
import org.eclipse.cdt.managedbuilder.core.IResourceInfo;
|
||||||
import org.eclipse.cdt.managedbuilder.core.ITool;
|
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.CDTListComparator;
|
||||||
import org.eclipse.cdt.ui.newui.UIMessages;
|
import org.eclipse.cdt.ui.newui.UIMessages;
|
||||||
import org.eclipse.cdt.utils.ui.controls.TabFolderLayout;
|
import org.eclipse.cdt.utils.ui.controls.TabFolderLayout;
|
||||||
|
@ -372,10 +373,10 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
|
||||||
try {
|
try {
|
||||||
cbi2.applyInfo(ic, bi1);
|
cbi2.applyInfo(ic, bi1);
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
System.out.println(Messages.getString("DiscoveryTab.15") + e.getLocalizedMessage()); //$NON-NLS-1$
|
CUIPlugin.getDefault().log(e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
System.out.println(Messages.getString("DiscoveryTab.16")); //$NON-NLS-1$
|
CUIPlugin.getDefault().logErrorMessage(Messages.getString("DiscoveryTab.7")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,7 @@ DiscoveryTab.1=Per Resource type
|
||||||
DiscoveryTab.2=Configuration-wide
|
DiscoveryTab.2=Configuration-wide
|
||||||
DiscoveryTab.3=Unknown
|
DiscoveryTab.3=Unknown
|
||||||
DiscoveryTab.6=No profiles found
|
DiscoveryTab.6=No profiles found
|
||||||
|
DiscoveryTab.7=InfoContexts are different \!
|
||||||
ToolSelectionDialog.0=Select tools
|
ToolSelectionDialog.0=Select tools
|
||||||
ToolSelectionDialog.1=Available tools
|
ToolSelectionDialog.1=Available tools
|
||||||
ToolSelectionDialog.2=Used tools
|
ToolSelectionDialog.2=Used tools
|
||||||
|
|
Loading…
Add table
Reference in a new issue