ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark McKay <>
Subject Specifiying user properties file
Date Sun, 06 Nov 2005 00:42:52 GMT
I'm trying to set up a situation where my users can specify a properties 
file where they can set properties specific to their machines.  I have 
my main build.xml file checked into my CVS repostiory, and a file that is also in the CVS repository.  I'd like 
the init task of my ant script to check if a file called 
exists, and if so to load properties from that file.  Otherwise, I'd 
like it to load properties fron the file.

Is there a way to do this (or something similar)?  Ant's lack of an <if> 
task makes setting up something like this difficult.

Mark McKay

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

View raw message