script.setProperty("properties", new AntProjectPropertiesDelegate(project));
script.setProperty("target", task.getOwningTarget());
script.setProperty("task", this);
script.setProperty("args", task.getCommandLine().getCommandline());
script.setProperty("pom", task.getBuild().getPom());
script.run();
}
catch (final MissingMethodException mme) {
// not a script, try running through run method but properties will not be available
if (scriptFile != null) {
try {