On Thu, Apr 1, 2010 at 5:25 AM, Geronimo M. H. <[email protected]> wrote:
> Am Wednesday 31 March 2010 17:42:50 schrieb Hans Dockter: > > On Wed, Mar 31, 2010 at 4:24 PM, Geronimo M. H. <[email protected] > >wrote: > > > If gradle has another way to keep track of changes, how can I ask for a > > > treeSet of the changed sources inside a task definition? > > > > The API for asking about the results of the incremental build check is > not > > exposed yet. This is on the list (not for 0.9 though). > > Ok, I misunderstood incremental build. > > After a look to the apidocs I think the "incremental" part is the question, > whether to execute a task or not. > > I thought, it would work like make, where make i.e. only compiles that > sources, that have been changed by checking the objects against the > sources. > Therefore I asked how I could get a treeSet of Sources, that need to get > processed. > > It's currently I generate my website by a perlscript, which converts all > directories by itself. I thought, I could change that script to filebased > operations to benefit from the incremental build. > > But when the question is, to execute a task or not, there's no need for me > to > change the script. > Why not? As said, at the moment it is a generic service on top of tasks that prevent execution if nothing has changed. Soon it will also provide information to the executing task about what has changed. - Hans -- Hans Dockter Founder, Gradle http://www.gradle.org, http://twitter.com/gradleorg CEO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz > > kind regards > > Geronimo > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
