RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Thanks again !!! I'm looking at your last hint:

RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Hi Gilbert, issue ii) solved using macrodef: pollerEventIsSet, pollerValue: ${pollerValue} output: pollerEventIsSet-if: [echo] pollerEventIsSet, pollerValue: bnk01alm01 Any idea about issue i) ? Regards Patrizio -Origi

RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Hi Gilbert, thanks a lot for your hint but I would like to find a way without using antcontrib... After some tries here what I've found but I've two issues: i) a property defined in a target is not visible in another. How could I set, let's say, a 'global property' ? ii) a way to get 'your' $

how to check that a property exist

2008-06-11 Thread Patrizio.Ferlito
Hi all, I'm trying to find out a solution for the below issue. I've a properties file like that: ... defaultPollerManagedServer=A TestEvent.pollerManagedServer=B DummyEvent.pollerManagedServer=C ... I run my build.xml providing a parameter: ant -DIPEvent=TestEvent And I would like to set the