ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Woehr <...@purematrix.com>
Subject Setting properties -- Best Practices question
Date Fri, 09 Apr 2004 21:11:31 GMT
Is it "good Ant style" to do the following, i.e., depend on the immutability of a property
to do
a simple choice point, as in choosing between two files based on the existence-or-nonexistence
of the first one tested?

     ...
     <available file="somepath" property="file-to-use"/>
     <property name="file-to-use" value="some-other-path"/>
     ...

--
Jack J. Woehr            # "[F]ar in the empty sky a solitary esophagus slept
http://www.well.com/~jax #  upon motionless wing; everywhere brooded stillness,
http://www.softwoehr.com #  serenity, and the peace of God." - Mark Twain




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


Mime
View raw message