I am trying to compile the latest Groovy distribution from source, using ant 1.7.1. The process runs along smoothly until "-createEmbeddableJar:", under which it fails saying
BUILD FAILED myHomeDir/groovy-src-1.6.0/groovy-1.6.0/build.xml:582: The <unwar> type doesn't support the nested "globmapper" element.
Build xml from line 582 looks like this:
<unzip dest="${stagingDirectory}">
<patternset>
<!-- no need for the manifest file, we have our own -->
<exclude name="META-INF/MANIFEST.MF"/>
</patternset>
<globmapper from="META-INF/LICENSE.txt" to="META-INF/CLI-LICENSE.txt"/>
<fileset dir="${runtimeLibDirectory}">
<include name="commons-cli-*.jar"/>
</fileset>
</unzip>
Any ideas as to what is wrong here?