ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: How do I load a wilcard properties file?
Date Thu, 23 May 2002 20:25:33 GMT
--- "Sayatovic, Brian" <> wrote:
> I have a properties file that will be of the form "*".
> How can I load properties form this file into Ant?  I don't know what
> the prefix will be and there *should* only be one instance of that file
> in the directory I want to search.  I just don't know the entire name of
> the file is going to be.

Use <fileset>, then <pathconvert> that into a property and reference the
property in your <property file=.../>. (You might also want to add some
error-checking to cover your "should" :)



Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

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

View raw message