mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
bug 296406: remove dummy class MakeBuilderUtil
This commit is contained in:
parent
9628c72b74
commit
7bcc902d24
1 changed files with 0 additions and 48 deletions
|
@ -1,48 +0,0 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2010 QNX Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* QNX Software Systems - Initial implementation
|
||||
* Tianchao Li (tianchao.li@gmail.com) - arbitrary build directory (bug #136136)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.newmake.core;
|
||||
|
||||
|
||||
/**
|
||||
* @noextend This class is not intended to be subclassed by clients.
|
||||
* @noinstantiate This class is not intended to be instantiated by clients.
|
||||
*/
|
||||
public class MakeBuilderUtil {
|
||||
|
||||
//FIXME: public static IPath getBuildDirectory(IProject project, IPath subPath, String builderID) {
|
||||
// IPath rootPath = getBuildDirectory(project, builderID);
|
||||
// return rootPath.append(subPath);
|
||||
// }
|
||||
//
|
||||
// public static IPath getBuildDirectory(IProject project, String builderID) {
|
||||
// IMakeBuilderInfo info;
|
||||
// try {
|
||||
// info = MakeCorePlugin.createBuildInfo(project, builderID);
|
||||
// } catch (CoreException e) {
|
||||
// return project.getLocation();
|
||||
// }
|
||||
// return getBuildDirectory(project, info);
|
||||
// }
|
||||
//
|
||||
// public static IPath getBuildDirectory(IProject project, IMakeBuilderInfo info) {
|
||||
// IPath buildDirectory = info.getBuildLocation();
|
||||
// if (!buildDirectory.isEmpty()) {
|
||||
// IResource res = project.getParent().findMember(buildDirectory);
|
||||
// if (res instanceof IContainer && res.exists()) {
|
||||
// buildDirectory = res.getLocation();
|
||||
// }
|
||||
// } else {
|
||||
// buildDirectory = project.getLocation();
|
||||
// }
|
||||
// return buildDirectory;
|
||||
// }
|
||||
}
|
Loading…
Add table
Reference in a new issue