Re: Properties set within conditions

2004-10-12 Thread Rhino
know. This solution was tested in Ant 1.6.1 on Windows XP. Rhino - Original Message - From: "Rhino" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 12:46 PM Subject: Re: Properties set within conditions

Re: Properties set within conditions

2004-10-12 Thread Rhino
;[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 12:39 PM Subject: RE: Properties set within conditions > From: Rhino [mailto:[EMAIL PROTECTED] > > Can you tell me what search words to use for finding some of these m

Re: Properties set within conditions

2004-10-12 Thread Rhino
! Rhino - Original Message - From: "Vadim Kazakov" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 12:25 PM Subject: RE: Properties set within conditions I think you misunderstood what I was trying to say, I was

RE: Properties set within conditions

2004-10-12 Thread Dominique Devienne
> From: Rhino [mailto:[EMAIL PROTECTED] > > Can you tell me what search words to use for finding some of these many > examples that you say are in the archives? I spent considerable time > looking > in the archive already, using search terms like 'conditional property' and > so forth but none of th

RE: Properties set within conditions

2004-10-12 Thread Vadim Kazakov
] Sent: October 12, 2004 9:52 AM To: Ant Users List Subject: Re: Properties set within conditions Vadim, I don't think I've ever seen a target that sets properties within a conditional before. Could you possibly provide an example? By the way, I've got my script working very

Re: Properties set within conditions

2004-10-12 Thread Rhino
oices for some reason? Rhino - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 11:59 AM Subject: RE: Properties set within conditions > From: Rhino [mailto:[EMAIL P

RE: Properties set within conditions

2004-10-12 Thread Dominique Devienne
> From: Rhino [mailto:[EMAIL PROTECTED] > I don't think I've ever seen a target that sets properties within a > conditional before. Could you possibly provide an example? > > By the way, I've got my script working very nicely now with 'antcallback'. > Thanks *very* much for this suggestion! Howeve

Re: Properties set within conditions

2004-10-12 Thread Rhino
l like to see other ways to do the same thing, especially ways that don't involve installing extra tasks. Rhino - Original Message - From: "Vadim Kazakov" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 11:

RE: Properties set within conditions

2004-10-12 Thread Vadim Kazakov
Why don't you try setting the properties using conditionals in the getserver target. Instead of calling down to sub targets. -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: October 12, 2004 9:20 AM To: Ant Users List Subject: Re: Properties set within condition

Re: Properties set within conditions

2004-10-12 Thread Rhino
r way, I'd love to hear about it. Rhino - Original Message - From: "Vadim Kazakov" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 10:37 AM Subject: RE: Properties set within conditions This is beca

RE: Properties set within conditions

2004-10-12 Thread Vadim Kazakov
This is because you're are setting these variables in an antcall. Which does not actually propogate up those properties. You could check out the antcallback task in ant-contrib. That will do what you want also see the recent thread about returning values from antcallback. __