Daz DeBoer-2 wrote
> So the current command-line ordering is more like "should run after". 

In my mind, the guarantees are much stronger. My mental model is:

"For the purpose of task execution order, `gradle foo bar` is the same as
`gradle foo; gradle bar`, except that each task is executed at most once."

Users rely on this all the time:

gradle clean build (clean everything before building anything)
gradle build uploadArchives (build everything before uploading anything)
gradle test sonarAnalyze (compile and test everything before running Sonar
analysis)
etc.

I'd totally expect `--parallel` to honor this contract. If we have strong
evidence that being less strict makes `--parallel` significantly faster in
practice, then I suggest we add a *new* syntax/option/whatever for that. But
we shouldn't touch the existing one.

Cheers,
Peter






--
View this message in context: 
http://gradle.1045684.n5.nabble.com/command-line-order-and-parallel-build-tp5711162p5711187.html
Sent from the gradle-dev mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to