Cool. I'm keen to get this into 0.7.
On Jun 22, 2009, at 9:03 PM, Steve Appling wrote:
I have a proof of concept implementation of some of this at git://
github.com/sappling/gradle.git in the "opt" branch.
This includes:
1) A new onlyIf method on Task
2) A new didWork method on Task
3) Implementations of didWork for Compile and GroovyCompile.
Amazing. For Ant 1.7.1 you probably could also use the new
updatedProperty. But no such thing exists for Groovyc. Excellent. And
I think we should expose all the information you gather. The public
API of the Compile task could return a list with compiled files.
I don't think that we can handle Ant's Copy task in this same way.
We may have to use a replacement, but this has other consequences.
I guess the problem is that as long as the Copy task is not able to
tell if it did work, we can't decide whether to skip the tests (unless
we check the binary dir). Isn't it?
5) A start at OptimizationHelper.isNeeded method. This will require
some additional dependency management features, so I stopped
development until I got some feedback on this whole approach.
I have to think about the whole 'needed' thing. I will give feedback
later.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email