ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inger, Matthew" <in...@Synygy.com>
Subject Condition as a top level element
Date Fri, 22 Aug 2003 14:09:54 GMT
Is it possible in the future to make <condition> a top level element?
It's essentially the same idea as <property>, but with restrictions.
The basic reason is that i'd like to have something like this at the
top of my project:

<condition property="script.extension" value=".sh">
   <os family="unix" />
</condition>

<condition property="script.extension" value=".bat">
   <os family="windows" />
</condition>


So that I don't have to muddy up the depend structure in
order for a target to know what extension to use for a script
file on the current os.

Thoughts?

----------------
Matthew Inger [inger@synygy.com]
Software Developer
Synygy, Inc
610-664-7433 x 7770
"Man who jump off cliff, leap to conclusions." - Confucious


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message