You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jim Downing <ji...@pobox.com> on 2002/01/11 11:59:24 UTC
Prefixed Property task.
Hi all,
sorry if this is a perennial, but I couldn't find anything in the archives or a trawl of the last couple of months. I was wondering if there were any plans to / if anyone had already changed the property task to include an optional 'prefix' attribute. I have a situation where I need to load multiple property files of different names but containing identically named properties. Rather than get into the property immutability issue, I thought a good way around would be: -
<property file="datasource.properties"/>
<sql driver="${datasource.driver} .../>
<property file="otherdatasource.properties" prefix="other"/>
<sql driver="${other.datasource.driver}" .../>
Has anybody implemented this? (if not I'll do it myself).
jim
Jim Downing
jimdowning@pobox.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>