Re: AW: Checking a property with ant

2010-10-31 Thread vvitayau
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.

AW: Checking a property with ant

2008-01-27 Thread Jan.Materne
> > > Translation: if ( buildresults == "failed" ) { buildfailed = true; } // otherwise 'buildfailed' is not set > > > public target buildresults() { // unless clause if ( buildfailed != null ) {

Re: AW: Checking a property with ant

2008-01-24 Thread Gilbert Rebhan
[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

AW: Checking a property with ant

2008-01-24 Thread Knuplesch , Jürgen
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

AW: Checking a property with ant

2008-01-23 Thread Jan.Materne
> > 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