builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/CompileHandler.java
branchC3_BUILDER_WORK
changeset 1749 0d2e2c9062b1
parent 0 fb279309251b
--- a/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/CompileHandler.java	Tue Aug 03 10:07:15 2010 -0500
+++ b/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/CompileHandler.java	Tue Aug 03 11:44:01 2010 -0500
@@ -80,7 +80,7 @@
 
 					IProject lastProject = selectedFiles.get(0).getProject();
 					ICarbideProjectInfo cpi = CarbideBuilderPlugin.getBuildManager().getProjectInfo(lastProject);
-					String[] errorParserIds = CarbideCPPBuilder.getParserIdArray(cpi.getDefaultConfiguration().getErrorParserId());
+					String[] errorParserIds = cpi.getDefaultConfiguration().getErrorParserList();
 					IPath workingDirectory = cpi.getINFWorkingDirectory();
 
 					// create the launcher for the first file's project.  if there are files selected for other projects, change the
@@ -104,7 +104,7 @@
 							if (lastProject != project && path != null) {
 					    		lastProject = project;
 								cpi = CarbideBuilderPlugin.getBuildManager().getProjectInfo(lastProject);
-								errorParserIds = CarbideCPPBuilder.getParserIdArray(cpi.getDefaultConfiguration().getErrorParserId());
+								errorParserIds = cpi.getDefaultConfiguration().getErrorParserList();
 								workingDirectory = cpi.getINFWorkingDirectory();
 								launcher = new CarbideCommandLauncher(lastProject, monitor, errorParserIds, workingDirectory);
 								launcher.showCommand(true);