1
/*******************************************************************************
2
* Copyright (c) 2006, 2008 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* IBM Corporation - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.make.xlc.core.scannerconfig;
13
import org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider;
14
import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
15
import org.eclipse.cdt.managedbuilder.internal.macros.BuildMacroProvider;
16
import org.eclipse.cdt.managedbuilder.macros.BuildMacroException;
17
import org.eclipse.cdt.managedbuilder.macros.IBuildMacroProvider;
18
import org.eclipse.core.runtime.Path;
24
public class XlCSpecsRunSIProvider extends GCCSpecsRunSIProvider {
26
protected static final String EMPTY_STRING = ""; //$NON-NLS-1$
31
* @see org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider#initialize()
33
protected boolean initialize() {
35
boolean rc = super.initialize();
39
this.fCompileCommand = new Path(ManagedBuildManager.getBuildMacroProvider()
41
this.fCompileCommand.toString(),
44
IBuildMacroProvider.CONTEXT_CONFIGURATION,
45
ManagedBuildManager.getBuildInfo(
46
this.resource.getProject())
47
.getDefaultConfiguration()));
48
} catch (BuildMacroException e) {