ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <geo...@isocra.com>
Subject RE: local building vs referencing known good code
Date Tue, 21 May 2002 16:11:41 GMT
{ANT documentation...  [snip]


<property file="foo.properties"/>
reads a set of properties from a file called "foo.properties".

[snip]

by setting this to
<property file="${user.home}/my.properties"/>
or something similar you can read user-specific properties /
paths and read in what you like.

As far as I know, you can then set properties which they haven't
set automatically using something like
<condition property="p1" value="p2">
  <equals arg1="${p1}" arg2="$${p1}"/>
</condition>

or the <not><isset></not> nested task, which certainly works
in 1.4.1 (I havent tried it on 1.5b1). I have a similar
situation to what I think you're describing, and that's what
I do.

Cheers
-Geoff




--
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