Re: checking property values

2006-04-19 Thread Heikki Qvist
If you need to use conditional or plural (i.e.loops) execution, you might have a wrong tool. Antoine Levy-Lambert kirjoitti: Hello Leo, yes you can. you have 3 possibilities : - use a combination of Ant and Groovy, so that you script around ant tasks and datatypes, but with the possibilit

RE: checking property values

2006-04-19 Thread Varadarajan, Srivathsan
Sure. Have a look at the condition. http://ant.apache.org/manual/CoreTasks/conditions.html -- Srivathsan -Original Message- From: Leo [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 5:30 PM To: user@ant.apache.org Subject: checking property values Hi, Iam

AW: checking property values

2006-04-18 Thread Jan.Materne
gt;Gesendet: Dienstag, 18. April 2006 23:30 >An: user@ant.apache.org >Betreff: checking property values > >Hi, > Iam trying to write a Ant based installer. It >basically will ask for input from the user and then based on >that information does different thing

Re: checking property values

2006-04-18 Thread Jeffrey E Care
Ant is not a functional programming language - it's a declarative build tool. You can probably hack what you want by using the tasks from antcontrib but, FWIW, my advice would be to rethink your approach. __

Re: checking property values

2006-04-18 Thread Antoine Levy-Lambert
Hello Leo, yes you can. you have 3 possibilities : - use a combination of Ant and Groovy, so that you script around ant tasks and datatypes, but with the possibility of using all possible procedural logic, - the traditional ant way : you need to create special targets which set properties us

checking property values

2006-04-18 Thread Leo
Hi, Iam trying to write a Ant based installer. It basically will ask for input from the user and then based on that information does different things. Iam not sure how to check if certain property is something? Ex: ... Now I need to do different things depending on the