ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig, Michael" <Michael.Lud...@delphi-mb.de>
Subject Search for properties file in parent directories
Date Thu, 11 Nov 2010 10:33:53 GMT
On the command line, I can instruct ant to go searching for a build
file by climbing up the directory tree:

ant -h
  ...
  -find <file>           (s)earch for buildfile towards the root of
    -s  <file>           the filesystem and use it

From within a script, I can instruct ant to load properties from a
file using <property file="rz.properties"/>.

Is there a way to instruct Ant to go searching for the properties
file by climbing up the directory tree, just like "ant -s" does
for build files?

-- 
Michael Ludwig 
Mime
View raw message