buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter schröder (JIRA) <j...@apache.org>
Subject [jira] Commented: (BUILDR-381) groovy compiler misses JUnit dependency
Date Fri, 26 Feb 2010 11:15:27 GMT

    [ https://issues.apache.org/jira/browse/BUILDR-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838822#action_12838822
] 

peter schröder commented on BUILDR-381:
---------------------------------------

example provided as attachement

> groovy compiler misses JUnit dependency
> ---------------------------------------
>
>                 Key: BUILDR-381
>                 URL: https://issues.apache.org/jira/browse/BUILDR-381
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.5
>         Environment: Buildr 1.3.5 (JRuby 1.4.0)
>            Reporter: peter schröder
>            Priority: Minor
>         Attachments: groovy.zip
>
>
> unit tests can not be compiled:
>  ERROR -- : Error instantiating 'groovyc' task: java.lang.NoClassDefFoundError: junit/framework/TestCase
>  Buildr aborted!
>  java.lang.NoClassDefFoundError: junit/framework/TestCase
> WORKAROUND:
> put this at the top of the buildfile:
>  Java.classpath << "junit:junit:jar:4.4"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message