Re: First post, ExtendedProperties question

2008-05-15 Thread Emmanuel Bourg
csanders a écrit : Ahh, and Velocity uses getProperty() . I'm not sure about this, I looked quickly into the Velocity code, it seems it mostly uses getString() on the ExtendedProperties, so the interpolation should work. Emmanuel Bourg -

Re: First post, ExtendedProperties question

2008-05-14 Thread csanders
Ahh, and Velocity uses getProperty() . Thanks for all your help on this Emmanuel, and your posts to the Velocity mailing list :). You're a gentleman and a scholar! Charlie Emmanuel Bourg wrote: csanders a écrit : Yep, here is the code: CompositeConfiguration config = new Compo

Re: First post, ExtendedProperties question

2008-05-14 Thread Emmanuel Bourg
csanders a écrit : Yep, here is the code: CompositeConfiguration config = new CompositeConfiguration(); config.addConfiguration(new SystemConfiguration()); config.addConfiguration(new EnvironmentConfiguration()); config.addConfiguration(new Properties

Re: First post, ExtendedProperties question

2008-05-14 Thread csanders
Yep, here is the code: CompositeConfiguration config = new CompositeConfiguration(); config.addConfiguration(new SystemConfiguration()); config.addConfiguration(new EnvironmentConfiguration()); config.addConfiguration(new PropertiesConfiguration(Config

Re: First post, ExtendedProperties question

2008-05-14 Thread Emmanuel Bourg
csanders a écrit : I'm having a little trouble getting the interpolation to work, I have a properties file with contents similar to: --- file.resource.loader.path = ${VELOCITY_TEMPLATE_HOME} --- Where VELOCITY_TEMPLATE_HOME is an environmental variable that I need to get expanded , how would

Re: First post, ExtendedProperties question

2008-05-14 Thread csanders
I'm having a little trouble getting the interpolation to work, I have a properties file with contents similar to: --- file.resource.loader.path = ${VELOCITY_TEMPLATE_HOME} --- Where VELOCITY_TEMPLATE_HOME is an environmental variable that I need to get expanded , how would I do this ? Thank

Re: First post, ExtendedProperties question

2008-05-14 Thread Emmanuel Bourg
csanders a écrit : We have a project that uses Velocity, which uses ExtendedProperties, which we want to extend to interpolate environmental variables and system properties. Does anyone have any objection / suggestion for this ? Is we write the patch is this something that could be included

Re: First post, ExtendedProperties question

2008-05-14 Thread Emmanuel Bourg
Henri Yandell a écrit : One thing to look for is whether Commons Configuration contains a version of ExtendedProperties with this feature. If I understand things correctly, the Collections class doesn't seek to be too creative because Configuration is adding these types of features. It might be

Re: First post, ExtendedProperties question

2008-05-13 Thread Henri Yandell
One thing to look for is whether Commons Configuration contains a version of ExtendedProperties with this feature. If I understand things correctly, the Collections class doesn't seek to be too creative because Configuration is adding these types of features. It might be that the better solution i

Re: First post, ExtendedProperties question

2008-05-13 Thread Rahul Akolkar
On 5/13/08, csanders <[EMAIL PROTECTED]> wrote: > Sorry no, I'm looking to patch ExtendedProperties in the collections > project, is this the right list ? > Yes, this is a shared list for all of Commons, please prefix email subject with [$component] ( in this case, [collections] ). Though I'd st

Re: First post, ExtendedProperties question

2008-05-13 Thread csanders
Sorry no, I'm looking to patch ExtendedProperties in the collections project, is this the right list ? Thanks, Charlei Rahul Akolkar wrote: If you are looking for Apache Velocity lists, please take a look at this page: http://velocity.apache.org/contact.html You probably want the user list

Re: First post, ExtendedProperties question

2008-05-13 Thread Rahul Akolkar
If you are looking for Apache Velocity lists, please take a look at this page: http://velocity.apache.org/contact.html You probably want the user list. One example of searchable archives (there are others too): http://velocity.markmail.org/ -Rahul On 5/13/08, csanders <[EMAIL PROTECTED]>

First post, ExtendedProperties question

2008-05-13 Thread csanders
Hi! Sorry if this has been discussed already, I could not find a 'search' button on the list archives. We have a project that uses Velocity, which uses ExtendedProperties, which we want to extend to interpolate environmental variables and system properties. Does anyone have any objection /