mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
Bug 321778: Fixes since tags.
This commit is contained in:
parent
c03b1c1796
commit
9883f18413
2 changed files with 4 additions and 2 deletions
|
@ -153,14 +153,14 @@ public class CCorePreferenceConstants {
|
|||
/**
|
||||
* "Build All Configurations" preference key.
|
||||
*
|
||||
* @since 4.0
|
||||
* @since 5.3
|
||||
*/
|
||||
public static final String PREF_BUILD_ALL_CONFIGS = "build.all.configs.enabled"; //$NON-NLS-1$
|
||||
|
||||
/**
|
||||
* Preference key for "build only if resources in (related) projects are modified".
|
||||
*
|
||||
* @since 5.1
|
||||
* @since 5.3
|
||||
*/
|
||||
public static final String PREF_BUILD_CONFIGS_RESOURCE_CHANGES = "build.proj.ref.configs.enabled"; //$NON-NLS-1$
|
||||
}
|
||||
|
|
|
@ -283,6 +283,7 @@ public class PathUtil {
|
|||
* @param pathsStr - the list of paths to inspect separated by path separator
|
||||
* defined in the platform (i.e. ":" in Unix and ";" in Windows).
|
||||
* @return - absolute location of the file on the file system.
|
||||
* @since 5.3
|
||||
*/
|
||||
public static IPath findProgramLocation(String prog, String pathsStr) {
|
||||
if (prog.trim().length()==0 || pathsStr.trim().length()==0)
|
||||
|
@ -338,6 +339,7 @@ public class PathUtil {
|
|||
* @param prog - program to find. For Windows, extensions "com" and "exe"
|
||||
* can be omitted.
|
||||
* @return - absolute location of the file on the file system.
|
||||
* @since 5.3
|
||||
*/
|
||||
public static IPath findProgramLocation(String prog) {
|
||||
String pathVariable = System.getenv("PATH"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue