AW: AW: AW: How to set properties when property is set

2006-05-23 Thread Jan.Materne
ers List'; [EMAIL PROTECTED] >Betreff: RE: AW: AW: How to set properties when property is set > >Jan: your solution is cool :) > >But there is one moment - that solution is useful when ONE >file must be loaded, if anybody need to load two or more files >with properties - I don&#

RE: AW: AW: How to set properties when property is set

2006-05-23 Thread Michael Pustovalov
y 23, 2006 3:30 PM To: user@ant.apache.org Subject: Re: AW: AW: How to set properties when property is set Jan: Sorry, I see your point...he could define the properties in a property file and do as you list... From his email I took it literally - meaning he wanted to set the property values i

Re: AW: AW: How to set properties when property is set

2006-05-23 Thread Scot P. Floess
Jan: Sorry, I see your point...he could define the properties in a property file and do as you list... From his email I took it literally - meaning he wanted to set the property values in his build.xml. Your solution is a very clean and elegant solution - I like it :) [EMAIL PROTECTED]

RE: AW: How to set properties when property is set

2006-05-23 Thread Michael Pustovalov
[mailto:[EMAIL PROTECTED] RDC Protei -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:14 PM To: Ant Users List Subject: Re: AW: How to set properties when property is set The only problem is he stated setting multiple properties...not a

AW: AW: How to set properties when property is set

2006-05-23 Thread Jan.Materne
>The only problem is he stated setting multiple >properties...not a single one Where is the problem? You can define multiple properties in the property-file. Jan >> >> >> >> - To unsubscribe, e-mail: [EMAIL P

Re: AW: How to set properties when property is set

2006-05-23 Thread Scot P. Floess
:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Mai 2006 12:23 An: Ant Users List Betreff: How to set properties when property is set Hi, I have a property that checks if a certain directory exists. If that property, gen.dir.present, is true then I need to set a bunch of properties. If false I set

RE: How to set properties when property is set

2006-05-23 Thread Michael Pustovalov
M To: user@ant.apache.org Subject: AW: How to set properties when property is set Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 23. Mai 2006 12:23 >An: Ant Users List >Betreff: How to set properties when propert

Re: How to set properties when property is set

2006-05-23 Thread Scot P. Floess
Well you could certainly use targets with the if/unless attributes... For instance: Personally, ant contrib has an task that might feel more natural so you don't have to use 's in this way. I am finding more and more I rely on ant contrib. The script would might look

AW: How to set properties when property is set

2006-05-23 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 23. Mai 2006 12:23 >An: Ant Users List >Betreff: How to set properties when property is set > >Hi, > >I have a property that checks if a cer

How to set properties when property is set

2006-05-23 Thread Mikael Petterson \(KI/EAB\)
Hi, I have a property that checks if a certain directory exists. If that property, gen.dir.present, is true then I need to set a bunch of properties. If false I set them to other values. Is there a Smooth way to do this. Cheers, //mikael