1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Bug 321778: Fixes since tags.

This commit is contained in:
Markus Schorn 2010-09-29 08:56:59 +00:00
parent c03b1c1796
commit 9883f18413
2 changed files with 4 additions and 2 deletions

View file

@ -153,14 +153,14 @@ public class CCorePreferenceConstants {
/** /**
* "Build All Configurations" preference key. * "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$ 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". * 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$ public static final String PREF_BUILD_CONFIGS_RESOURCE_CHANGES = "build.proj.ref.configs.enabled"; //$NON-NLS-1$
} }

View file

@ -283,6 +283,7 @@ public class PathUtil {
* @param pathsStr - the list of paths to inspect separated by path separator * @param pathsStr - the list of paths to inspect separated by path separator
* defined in the platform (i.e. ":" in Unix and ";" in Windows). * defined in the platform (i.e. ":" in Unix and ";" in Windows).
* @return - absolute location of the file on the file system. * @return - absolute location of the file on the file system.
* @since 5.3
*/ */
public static IPath findProgramLocation(String prog, String pathsStr) { public static IPath findProgramLocation(String prog, String pathsStr) {
if (prog.trim().length()==0 || pathsStr.trim().length()==0) 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" * @param prog - program to find. For Windows, extensions "com" and "exe"
* can be omitted. * can be omitted.
* @return - absolute location of the file on the file system. * @return - absolute location of the file on the file system.
* @since 5.3
*/ */
public static IPath findProgramLocation(String prog) { public static IPath findProgramLocation(String prog) {
String pathVariable = System.getenv("PATH"); //$NON-NLS-1$ String pathVariable = System.getenv("PATH"); //$NON-NLS-1$