On 16/08/10 5:37 PM, Matthias Bohlen wrote:

Am 16.08.2010 um 02:31 schrieb Adam Murdoch:

Hi,

I filed a Jira issue today because so many things go wrong with my gradle build: http://jira.codehaus.org/browse/GRADLE-1118

What shall I do?

Here's what I did to get your build working.

The problems come down to doing some things at configuration time that need to be done at execution time. There's some more detail about this distinction in the user guide (hidden at the back, so it's quite reasonable if you missed it): http://gradle.org/0.9-rc-1/docs/userguide/build_lifecycle.html

Hi, Andrew,

wow, this was REALLY tricky - thanks for pointing out that important difference!

The trickiness is something we definitely want to address. It just shouldn't be so easy to stumble across ordering problems like you did. Part of the solution will be changing the DSL so that it's much clearer what's going on. Part will be improving the tutorials. And part will be changing how Gradle works internally, to detect these mistakes and stop you from making them.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to