ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Control statements in Ant
Date Mon, 01 Jul 2002 20:57:34 GMT
Vineet,

I'm posting the reply over to the ant-user list as its not appropriate for
the ant-dev list.

It would be more helpful for you to describe what you are trying to do in
higher-level terms rather than pseudo-code. There are many ways to
accomplish various things based on the OS-type, so rather than elaborate on
those, first tell us what you're getting at.

RogueWave, eh?  In Corvallis?

    Erik


> I want to do the following in ant:
>
>
>    if(operating system is windows) {
>       os = "win";
>    } else {
>       os = "other";
>    }
>
>    Can I do this in ant?
>    Can properties once defined(initialized) in Ant be assigned another
value
> based on some conditional evaluation?
>
>
> Thanks,
> Vineet



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message