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:
Constantine Plotnikov
2010-05-27 11:15:01 +04:00
parent 70b251deb0
commit 8033ec63fb
@@ -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