I got failure when
command="find . -maxdepth 1 -name ${reporting.db}.\*\.001 |
wc -l"/>
... the trick is why doesn't 0 -eq 0 is when it has EOL so adding pipe xargs
echo -n resolved this bug
hope this helps test your condition.
>
>
>
Translation:
if ( buildresults == "failed" ) {
buildfailed = true;
}
// otherwise 'buildfailed' is not set
>
>
>
public target buildresults() {
// unless clause
if ( buildfailed != null ) {
[EMAIL PROTECTED] schrieb:
> But dont forget: checks whether a property with
> the given name is set/not-set.
therefore in my example the property thats' used
afterwards with target if|unless is set via
condition + equals ... ;-)
>
>
> I will be executed
>
>
>
>
> I will be execu
Alternativly use if-Task of antcontrib to do it in one step.
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsführer: Uwe
>
>
But dont forget: checks whether a property with
the given name is set/not-set.
I will be executed
I will be executed
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI