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
-
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
csanders a écrit :
Yep, here is the code:
CompositeConfiguration config = new CompositeConfiguration();
config.addConfiguration(new SystemConfiguration());
config.addConfiguration(new EnvironmentConfiguration());
config.addConfiguration(new
Properties
Yep, here is the code:
CompositeConfiguration config = new CompositeConfiguration();
config.addConfiguration(new SystemConfiguration());
config.addConfiguration(new EnvironmentConfiguration());
config.addConfiguration(new
PropertiesConfiguration(Config
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
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
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
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
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
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
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
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]>
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 /
13 matches
Mail list logo