AntBuilderでデフォルトではNative2Asciiタスクが使えない
AntBuilderでnative2asciiを使いたかったんですが、そのままだと使えないみたい。
動作確認: Groovy Version: 1.6.0 JVM: 1.6.0_12
実行すると以下のようなエラーが出る
>groovy compile.groovy
Caught: : Problem: failed to create task or type native2ascii
Cause: the class org.apache.tools.ant.taskdefs.optional.Native2Ascii was not
found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-ANT_HOME\lib
-the IDE Ant configuration dialogsDo not panic, this is a common problem.
The commonest cause is a missing JAR.This is not a bug; it is a configuration problem
at compile.run(compile.groovy:23)