ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <>
Subject Copying file that is used as a properties file
Date Fri, 28 Feb 2003 06:56:00 GMT
I have the following code to pick up a database's properties (actually,
this is a renamed file)

<!-- Properties for loading and creating database from Ant -->
<property file="${user.home}/.${}"/>
<property file="${user.home}/"/>
<property file=""/>

This works great, however, I need this file (whichever one it is) to be
copied to my classpath and renamed

            file="" />

I don't want to override anyone's custom file in the
project's root (hence ${user.home} lookup).  Is it possible to determine
the file that was loaded for the <copy> task?



View raw message