script = shell.parse(scriptFile);
} else {
script = shell.parse(txt, scriptName);
}
final Project project = task.getProject();
script.setProperty("ant", new AntBuilder(task));
script.setProperty("project", project);
script.setProperty("build", task.getBuild());
script.setProperty("properties", new AntProjectPropertiesDelegate(project));
script.setProperty("target", task.getOwningTarget());
script.setProperty("task", this);