Message.verbose("triggering build: " + f + " target=" + target + " for " + event);
MessageImpl impl = IvyContext.getContext().getMessageImpl();
try {
IvyContext.getContext().setMessageImpl(null);
try {
ant.execute();
} catch (BuildException e) {
Message.verbose("Exception occurred while executing target " + target);
e.printStackTrace(); // TODO: remove when finished debugging
throw e;
}