buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-381) JUnit tests on Groovy project fail with NoClassDefFoundError: junit/framework/TestCase
Date Sun, 28 Feb 2010 04:33:06 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Boisvert updated BUILDR-381:
---------------------------------

    Component/s: Test frameworks
        Summary: JUnit tests on Groovy project fail with NoClassDefFoundError: junit/framework/TestCase
 (was: groovy compiler misses JUnit dependency)

> JUnit tests on Groovy project fail with NoClassDefFoundError: junit/framework/TestCase
> --------------------------------------------------------------------------------------
>
>                 Key: BUILDR-381
>                 URL: https://issues.apache.org/jira/browse/BUILDR-381
>             Project: Buildr
>          Issue Type: Bug
>          Components: Test frameworks
>    Affects Versions: 1.3.5
>         Environment: Buildr 1.3.5 (JRuby 1.4.0)
>            Reporter: peter schröder
>            Priority: Minor
>         Attachments: BUILDR-381.txt, 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