Forgot to mention that I was on gradle milestone-2 first. Haven't tried, but I presume that any other version than milestone-3 would cause a fail too.
Cheers, Marc On 2011-11-22, at 09.31, Marc Grue wrote: > Hi Niclas, > > With a fresh clone I get a build failure: > > Test org.qi4j.library.rest.client.ContextResourceClientFactoryTest FAILED > 5 tests completed, 4 failures > ================== > Trying to override old definition of datatype junitreport > > Test failures in: > org.qi4j.library.rest-client > > FAILURE: Build failed with an exception. > > * Where: > Build file '/Users/marcgrue/github/qi4j-sdk/build.gradle' line: 188 > > * What went wrong: > Execution failed for task ':test'. > Cause: There was TEST FAILURES!! See list above. > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > > BUILD FAILED > ================== > > When I change the third-last line of build.gradle script from > > gradleVersion = '1.0-milestone-2' > > to > > gradleVersion = '1.0-milestone-3' > > ... which is the milestone being downloaded > (wrapper/gradle-wrapper.properties: > > distributionUrl=http\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip > > ... then the build script runs. > > But it doesn't create any Idea or Eclipse artifacts. Isn't it supposed to do > that? (And maybe also POM's?) > > Without those, I don't see how to open the source base as a project in Idea > having dependencies resolved without afterwards running your own 'gradle > idea' command which had the problems described in my last mail. > > Now I also tried to switch to milestone-3 and run the ./gradle script only, > and then the Idea module files are actually created. So there seems to be > some dependency on the "local" gradle version still? If you try to switch to > some other gradle version on your local machine - can you get the build > script to run successfully? > > Cheers, > Marc > > On 2011-11-21, at 17.32, Niclas Hedhman wrote: > >> What is there to sort out? >> >> git clone git://github.com/Qi4j/qi4j-sdk.git >> cd qi4j-sdk >> ./gradlew >> <wait> >> <done> >> >> Cheers >> Niclas > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

