ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Woehr <>
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 #  upon motionless wing; everywhere brooded stillness, #  serenity, and the peace of God." - Mark Twain

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message