Please follow the instructions on the groovy github page: https://github.com/groovy/groovy-core#building
Jan 09, 2008
I experienced the following build failure concerning ant (version 1.7.0 compiled on September 23 2007) and ANTLR on Mac OS Leopard (10.5):
/Users/jon_r/Documents/Projects/groovy-core/build.xml:65: Problem: failed to create task or type antlr
Cause: the class org.apache.tools.ant.taskdefs.optional.ANTLR was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
This problem can be solved quickly by following these steps:
After taking these steps your build should not fail with this error again. I hope someone else finds this information useful.
Dec 28, 2011
This page states that Ant >= 1.7.0 is required.
The build.xml only states
What's correct? We should sync this.
Powered by a free Atlassian Confluence Open Source Project License granted to Codehaus. Evaluate Confluence today.