Looks like we've broken calling another task's execute() method from a task
action, which was never really supported.
You should change this in tapestry-core/build.gradle:
ideaModule.doFirst {
tasks.generateGrammarSource.execute()
}
to something like this:
ideaModule.dependsOn generateGrammarSource
On 06/01/2012, at 8:29 AM, Howard Lewis Ship wrote:
> Yes, in the gist link.
>
> On Thu, Jan 5, 2012 at 12:37 PM, Adam Murdoch
> <[email protected]> wrote:
>>
>> Do you have a stacktrace for the failure?
>>
>> On 06/01/2012, at 4:59 AM, Howard Lewis Ship wrote:
>>
>> $ gr
>> idea:ideaModule:ideaProject:ideaWorkspace:idea:plastic:ideaModule:plastic:idea:quickstart:ideaModule:quickstart:idea:tapestry-beanvalidator:ideaModule:tapestry-beanvalidator:idea:tapestry-core:ideaModule
>> FAILURE: Build failed with an exception.
>> * Where:Build file
>> '/Users/hlship/workspaces/tapestry/tapestry5/tapestry-core/build.gradle'
>> line: 53
>> * What went wrong:Execution failed for task
>> ':tapestry-core:ideaModule'.Cause: The task artifact state cache
>> (/Users/hlship/workspaces/tapestry/tapestry5/.gradle/1.0-milestone-7/taskArtifacts)
>> has not been locked.
>> * Try:Run with --stacktrace option to get the stack trace. Run with
>> --info or --debug option to get more log output.
>> BUILD FAILED
>> Total time: 9.119 secs~/workspaces/t5$
>>
>> I deleted my .gradle directory and retried, same result.
>>
>> I then deleted everything in my ~/.gradle folder (except my
>> gradle.properties).
>>
>> Same result. Here's the --debug console output:
>> https://gist.github.com/1566381
>>
>> Looks like this might be a serious bug?
>>
>> I'm going to try reverting to m6 and see if that fixes my problem.
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>> --
>> Adam Murdoch
>> Gradle Co-founder
>> http://www.gradle.org
>> VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
>> http://www.gradleware.com
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com