It didn't. In wrapper property, it's m-3, in build.gradle there's a gradleVersion pointing to m-2.
When I 'synced' those, either to m-2 or m-3 (having same version in both places) it could build. Sent from my iPhone On 22 nov 2011, at 15:30, Niclas Hedhman <[email protected]> wrote: > Redoing myself to see what is going on... > > On Tue, Nov 22, 2011 at 10:29 PM, Niclas Hedhman <[email protected]> wrote: >> So how did the milestone-2 end up in wrapper/...properties? >> >> On Tue, Nov 22, 2011 at 10:21 PM, Marc Grue <[email protected]> wrote: >>> I did _exactly_ this: >>> >>>>> git clone git://github.com/Qi4j/qi4j-sdk.git >>>>> cd qi4j-sdk >>>>> ./gradlew >>>>> <wait> >>>>> <done> >>> >>> ... and got the build failure as described. >>> >>> ?? >>> >>> Sent from my iPhone >>> >>> On 22 nov 2011, at 14:33, Niclas Hedhman <[email protected]> wrote: >>> >>>> 1. I have a hard time believing that Rest library's test will fail >>>> depending on which Gradle version is running. >>>> >>>> 2. The checked in version in wrapper/gradle-wrapper.properties WAS >>>> milestone 3!!! >>>> >>>> Soooo, I presume you didn't follow the advanced instructions I gave ;-) >>>> >>>> >>>> Cheers >>>> >>>> >>>> On Tue, Nov 22, 2011 at 4:31 PM, Marc Grue <[email protected]> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> 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/6a2pl4j >>>> I relax here; http://tinyurl.com/2cgsug >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> 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/6a2pl4j >> I relax here; http://tinyurl.com/2cgsug >> > > > > -- > 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/6a2pl4j > I relax here; http://tinyurl.com/2cgsug > > _______________________________________________ > 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

