buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: retrieving ant properties
Date Tue, 19 Feb 2008 01:46:59 GMT
On 2/18/08, Nicolas Modrzyk <hellonico@gmail.com> wrote:
>
> hello hello,
>
> I have an ant task setting a property in Buildr, and I would like to
> retrieve it.
> You have any sample code I could look at to do that ?


We do that to determine if any test cases failed, with:

Buildr.ant('junit') do |ant|
  . . .
  ant.project.getProperty('failed')
  . . .
end

Assaf

Thanks!
>
> Niko,
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message