Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-3
-
Fix Version/s: 1.1-rc-2
-
Component/s: Ant integration
-
Labels:None
-
Environment:OSX 10.4, IDEA 5.0, Ant 1.6.5, Java 1.4.2
-
Testcase included:yes
-
Number of attachments :
Description
In JSR03, the groovyc ant task doesn't seem to use the classpath provided.
In JSR01, the following Ant task worked. In JSR03 it does not and I get class not found errors.
<groovyc srcdir="${src}" destdir="${classes}" classpath="${classes}">
<classpath>
<fileset dir="${lib}" casesensitive="yes">
<include name="*/.jar"/>
</fileset>
</classpath>
</groovyc>
I had the opposite problem, JSR02 didn't work, while JSR03 works after I provided a fix. I use this:
<groovyc destdir="${build}" srcdir="${groovy-src}" listfiles="true" stacktrace="false">
<classpath refid="run.path"/>
</groovyc>
Could you provide more details to see if it is possible to resolve this. Try adding stacktrace="true" and see if that helps us get the necessary details to understand why your thing didn't work. Also, if you have a simple example that allows reproduction.
BTW: this issue does not include a junit test case as claimed. Maybe you forgot to add it.