Lines 114-119
Link Here
|
114 |
private String customCallbacksBuildpath = null; |
114 |
private String customCallbacksBuildpath = null; |
115 |
private String customCallbacksFailOnError = null; |
115 |
private String customCallbacksFailOnError = null; |
116 |
private String customCallbacksInheritAll = null; |
116 |
private String customCallbacksInheritAll = null; |
|
|
117 |
private String warningProperties = null; |
117 |
// array of extensions of recognized source files (eg- *.java, *.aj, etc) |
118 |
// array of extensions of recognized source files (eg- *.java, *.aj, etc) |
118 |
private String[] sourceFileExtensions; |
119 |
private String[] sourceFileExtensions; |
119 |
//This list is initialized by the generateBuildJarsTarget |
120 |
//This list is initialized by the generateBuildJarsTarget |
Lines 226-231
Link Here
|
226 |
} |
227 |
} |
227 |
} |
228 |
} |
228 |
} |
229 |
} |
|
|
230 |
|
231 |
String projectWarningSettings = getBuildProperties().getProperty(PROPERTY_PROJECT_SETTINGS); |
232 |
if (Boolean.valueOf(projectWarningSettings).booleanValue()) { |
233 |
//find default prefs file |
234 |
if (new File(model.getLocation(), JDT_CORE_PREFS).exists()) |
235 |
warningProperties = JDT_CORE_PREFS; |
236 |
} else if (projectWarningSettings != null && !FALSE.equalsIgnoreCase(projectWarningSettings)) { |
237 |
if (new File(model.getLocation(), projectWarningSettings).exists()) |
238 |
warningProperties = projectWarningSettings; |
239 |
} |
229 |
} |
240 |
} |
230 |
|
241 |
|
231 |
protected static boolean findAndReplaceDot(String[] classpathInfo) { |
242 |
protected static boolean findAndReplaceDot(String[] classpathInfo) { |
Lines 1475-1480
Link Here
|
1475 |
javac.setCompileArgs(Utils.getPropertyFormat(PROPERTY_JAVAC_COMPILERARG)); |
1486 |
javac.setCompileArgs(Utils.getPropertyFormat(PROPERTY_JAVAC_COMPILERARG)); |
1476 |
javac.setSrcdir(sources); |
1487 |
javac.setSrcdir(sources); |
1477 |
javac.setLogExtension(Utils.getPropertyFormat(PROPERTY_LOG_EXTENSION)); |
1488 |
javac.setLogExtension(Utils.getPropertyFormat(PROPERTY_LOG_EXTENSION)); |
|
|
1489 |
if (warningProperties != null) |
1490 |
javac.setWarningProperties(Utils.getPropertyFormat(PROPERTY_BASEDIR) + '/' + warningProperties); |
1478 |
if (generateErrorPropertyAttribute) |
1491 |
if (generateErrorPropertyAttribute) |
1479 |
javac.setErrorProperty(PROPERTY_COMPILATION_ERROR); |
1492 |
javac.setErrorProperty(PROPERTY_COMPILATION_ERROR); |
1480 |
generateCompilerSettings(javac, entry, classpath); |
1493 |
generateCompilerSettings(javac, entry, classpath); |