mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ant generation: Empty path is converted to empty path during relative path conversion since it is likely means that no value is supplied
This commit is contained in:
@@ -86,6 +86,9 @@ public class GenerationUtils {
|
||||
@NonNls final String baseDirPropertyName,
|
||||
GenerationOptions genOptions) {
|
||||
path = normalizePath(path);
|
||||
if(path.length() == 0) {
|
||||
return path;
|
||||
}
|
||||
final String substitutedPath = genOptions.subsitutePathWithMacros(path);
|
||||
if (!substitutedPath.equals(path)) {
|
||||
// path variable substitution has highest priority
|
||||
|
||||
Reference in New Issue
Block a user