On Thu, 27 Nov 2008, Victor Hugo Borja wrote:
> The Artifact class inherits Rake::FileCreationTask, so I guess its actions
> only get called
> if its needed? method returns true ( rake.rb:794 returns !File.exist?(name)
> )
> So if the artifact exists on your local repo, then its actions/prerequisites
> are not executed.

Cheers! This was exactly the missing piece that I needed to 
get forward. Overriding FileCreationTask.needed? was the hook 
I was looking for.


Unfortunately my ruby skills only got me so far, so it would be 
great to get some help in this

  https://issues.apache.org/jira/browse/BUILDR-212

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

Reply via email to