|
|
@@ -484,12 +484,10 @@ public class ExecTask extends Task { |
|
|
|
throw new BuildException("no executable specified", getLocation()); |
|
|
|
} |
|
|
|
if (dir != null && !dir.exists()) { |
|
|
|
throw new BuildException("The directory you specified does not " |
|
|
|
+ "exist"); |
|
|
|
throw new BuildException("The directory " + dir + " does not exist"); |
|
|
|
} |
|
|
|
if (dir != null && !dir.isDirectory()) { |
|
|
|
throw new BuildException("The directory you specified is not a " |
|
|
|
+ "directory"); |
|
|
|
throw new BuildException(dir + " is not a directory"); |
|
|
|
} |
|
|
|
if (spawn && incompatibleWithSpawn) { |
|
|
|
getProject().log("spawn does not allow attributes related to input, " |
|
|
|