diff --git a/src/main/org/apache/tools/ant/taskdefs/Execute.java b/src/main/org/apache/tools/ant/taskdefs/Execute.java index 9b4f1bdae..d37ba861f 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Execute.java +++ b/src/main/org/apache/tools/ant/taskdefs/Execute.java @@ -445,7 +445,7 @@ public class Execute { */ public int execute() throws IOException { if (workingDirectory != null && !workingDirectory.exists()) { - throw new BuildException(workingDirectory + " doesn't exists."); + throw new BuildException(workingDirectory + " doesn't exist."); } final Process process = launch(project, getCommandline(), getEnvironment(), workingDirectory, @@ -497,7 +497,7 @@ public class Execute { */ public void spawn() throws IOException { if (workingDirectory != null && !workingDirectory.exists()) { - throw new BuildException(workingDirectory + " doesn't exists."); + throw new BuildException(workingDirectory + " doesn't exist."); } final Process process = launch(project, getCommandline(), getEnvironment(), workingDirectory,