Overhaul of RCOMP/GCCE error parsing to fix 8901:
-RCOMP error parser will defer C preprocessor errors to GCCECompiler error parser.
-GCCE error parser is splited into compiler/assembler/linker, calling their counterpart in CDT respectively before handling special cases.
-Updated error messages RCOMP error parser according to latest copy of RCOMP source.
-WINSCW build configuration is using CDT GCC error parser instead of GCCE(for RCOMP C preprocessor error)
Updated test case for error parsing
-Added Bugzilla regression for GCC and make error parser
-Converted test case from hardcoded SDK_ID to picking up the first SDK from device.xml with the build config specified by the test.
-Fixed bug in test harness for input file ends on the last line so it was processed in the same run.
-Fixed bug in test harness for not clearing problem view before each run(for visual cross check).
-Rewritten test harness to use JDOM XML handling(from JAXP), to solve deployment issue in newer JRE.
/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
function buildSimpleErrorStatus(errorString, params) {
statusBuilder = newStatusBuilder();
statusBuilder.add(IStatus.ERROR, errorString, params);
return statusBuilder.createStatus("", null);
}
function buildMultipleErrorStatus(header, errorString, params, status) {
statusBuilder = newStatusBuilder();
statusBuilder.add(status);
statusBuilder.add(IStatus.ERROR, errorString, params);
return statusBuilder.createStatus(header, null);
}
function buildSimpleWarningStatus(warningString, params) {
statusBuilder = newStatusBuilder();
statusBuilder.add(IStatus.WARNING, warningString, params);
return statusBuilder.createStatus("", null);
}