Actually you just need to make the groovyfront.jar and its dependences available in the classpath of Ant when it starts. It has to be added the same way the Ant's optional dependencies have to be added: see in the Ant manual how to install an optional task.