Re: File name resolution

Jean Morissette <[email protected]> Wed, 15 Dec 2004 17:26:35 -0500
Newsgroups gmane.comp.java.seda.user
Message-ID <[email protected]>
Jean Morissette wrote:
> Thus, we will create a resolver that replace properties defined in the 
> configuration file.  By exemple, it would now be possible to write:
> 
>   ${config.home}/haboob-hdapi.cfg
> 
> 'config.home' will be a standard property as well.  Perfect.

Done!  Sandstorm now provide two _system_ properties: ${config.home} and 
${user.home} that can be used in *.cfg files.  Note that these 
properties are not available in ConfigData.


> But, would it be interesting to support user-defined properties, so a 
> user could reuse a property in its configuration file?  By exemple:
> 
>   <property name="queue.threshold" value="500">
>   [...]
>   threshold ${queue.threshold}

Do you think that support for _user-defined_ property would also be 
usefull (like Ant <property>)?

Thanks for your comments.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/