Re: A Question regarding conditionals

2010-01-06 Thread Antoine Levy Lambert
Kamran Hameed wrote: Folks i have two questions 1. I want to check whether an environment variable is defined or not. e-g i want to check whether the variable JAVA_HOME is set or not. How can i do that. Currently the way i am doing that is : Hello Kamram, here is my suggested solution

A Question regarding conditionals

2010-01-03 Thread Kamran Hameed
Folks i have two questions 1. I want to check whether an environment variable is defined or not. e-g i want to check whether the variable JAVA_HOME is set or not. How can i do that. Currently the way i am doing that is : * // the line doing it* so in t

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
ement approaches available in Ant (my > favorite is filterchains). Or you could always > implement in Java or a compatible scripting language. > > -Matt > >> >> -- >> Frank W. Zammetti >> Founder and Chief Software Architect >> Omnytex Technologies >&g

Re: Conditionals

2005-02-28 Thread Matt Benson
implement in Java or a compatible scripting language. -Matt > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > > On Mon, February 28, 2005 1:07 pm, Matt Benson said: > > > > --- "Frank W.

Re: Conditionals

2005-02-28 Thread Mark Lundquist
Hi Frank, On Feb 28, 2005, at 9:56 AM, Frank W. Zammetti wrote: This might be the last Ant question I ever have to ask (now, where is the deed to that bridge in Brooklyn?!?)... Is it possible, and if so how, to do conditionals? I'd like to have a way basically on each task to say "i

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
comments in the properties file are wiped out. I wouldn't want to do conditionals this way unles I could have a comment that says "uncomment this for build type A, comment it for type B". So, is there a way to get this task... To NOT wipe out my comments? Thanks again, I&

Re: Conditionals

2005-02-28 Thread Matt Benson
--- Ninju Bohra <[EMAIL PROTECTED]> wrote: > I tried to make a suggest the ANT developers group > that they could accomplish that exact capablility > with about 4 lines of code. > > See: > http://issues.apache.org/bugzilla/show_bug.cgi?id=33105 > > They rejected it :-( If it makes you feel an

Re: Conditionals

2005-02-28 Thread Frank W. Zammetti
sk (now, where is > the >> deed to that bridge in Brooklyn?!?)... >> >> Is it possible, and if so how, to do conditionals? I'd like to have a > way >> basically on each task to say "if property A=value1, then run this task, >> otherwise don't"

Re: Conditionals

2005-02-28 Thread Matt Benson
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Is it possible, and if so how, to do conditionals? > I'd like to have a way > basically on each task to say "if property A=value1, > then run this task, > otherwise don't". I'm looking

Re: Conditionals

2005-02-28 Thread Jeffrey E Care
t possible, and if so how, to do conditionals? I'd like to have a way > basically on each task to say "if property A=value1, then run this task, > otherwise don't". I'm looking through the manual now but haven't come > across what seems to fit the bill. > > Th

Re: Conditionals

2005-02-28 Thread Ninju Bohra
ank W. Zammetti" <[EMAIL PROTECTED]> wrote: This might be the last Ant question I ever have to ask (now, where is the deed to that bridge in Brooklyn?!?)... Is it possible, and if so how, to do conditionals? I'd like to have a way basically on each task to say "if property A=value1, the

Conditionals

2005-02-28 Thread Frank W. Zammetti
This might be the last Ant question I ever have to ask (now, where is the deed to that bridge in Brooklyn?!?)... Is it possible, and if so how, to do conditionals? I'd like to have a way basically on each task to say "if property A=value1, then run this task, otherwise don't