Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-3
-
Fix Version/s: 1.1-rc-2
-
Component/s: Ant integration
-
Labels:None
-
Environment:Windows XP, Ant 1.7, JDK1.5_R12
-
Number of attachments :
Description
Ant fails to find Groovyc class when using the groovy-all*.jar. However if the classpath is changed to point to GROOVY_HOME\lib it works fine. I have attached the build.xml file and fibonacci.groovy for example.
Here is the error ....
C:\Z>ant
Buildfile: build.xml
BUILD FAILED
C:\Z\build.xml:10: taskdef A class needed by class org.codehaus.groovy.ant.Groovyc cannot be found: org/apache/commons/cli/ParseException
Total time: 0 seconds
C:\Z>
This isn't a bug but current behaviour. The all jar doesn't include the commons-cli which you need. You may ask for a feature enhancement if you want a jar merging commons-cli.