One thing broke for me (from 0.9.2);
// create Junit report
def junitReportDir = buildDirName + "/reports/junit"
mkdir(dir: junitReportDir)
mkdir(dir: buildDirName + "/test-results")
'junitreport'(todir: junitReportDir) {
report(format: 'frames', todir: junitReportDir)
allprojects.each { module ->
fileset(dir: "$module.buildDir/test-results") {
include(name: "TEST-*.xml")
}
}
}
says;
* What went wrong:
Execution failed for task ':build'.
Cause: Problem: failed to create task or type junitreport
Cause: the class
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator 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 dialogs
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
I assume that something new is required on the classpath. But what exactly?
Cheers
Niclas
On Sun, Feb 27, 2011 at 5:54 PM, Adam Murdoch
<[email protected]> wrote:
> Hi,
> The Gradle team is pleased to announce that Gradle 1.0-milestone-1 is now
> available. This release marks the start of our push towards a Gradle 1.0
> release.
> Downloads: http://gradle.org/downloads.html
> Release
> notes: http://docs.codehaus.org/display/GRADLE/Gradle+1.0-milestone-1+Release+Notes
> Please note that this release contains some breaking changes. You can find
> the details
> at http://docs.codehaus.org/display/GRADLE/Gradle+1.0-milestone-1+Breaking+Changes
>
> --
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
> CTO, Gradleware Inc. - Gradle Training, Support, Consulting
> http://www.gradleware.com
>
>
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email