Yepp that worked! Thanks!
Cheers,
//mikael
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: den 21 november 2005 19:04
To: Ant Users List
Subject: RE: trying to grep in file for a certain string
Oops, wrap the with a
--- "Mikael Petterson (KI/EAB)&quo
mikael
>
> -Original Message-
> From: Ninju Bohra [mailto:[EMAIL PROTECTED]
> Sent: den 21 november 2005 18:23
> To: Ant Users List
> Subject: Re: trying to grep in file for a certain string
>
>
> Not quite sure what is wrong with your path... but if you are only s
On 11/21/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote:
> Your script did not work since I got the following error:
>
> The type doesn't support the nested "contains" element.
Probably may need a nested that contains the .
Either that, or you're using an older version of Ant. --DD
> F
Hi,
Your script did not work since I got the following error:
The type doesn't support the nested "contains" element.
cheers,
//mikael
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: den 21 november 2005 18:23
To: Ant Users List
Subject: Re: tr
Not quite sure what is wrong with your path... but if you are only setting the
property to contol the task you can nest a condition with the
task and avoid the property.
Building on the task to read the file you can do the following:
Short and sweet,
Ninju
--- "Mikael Petterson (KI/EA
> I am trying to check if a file called TestSummary.txt does NOT contains the
> string "Number of failures = 0".
> If it does not contain "Number of failures = 0" then I need to set a property
> called test.status.failed.
> When I try to test the ant script below I get:
indeed doesn't support n