On Tue, 2008-09-16 at 09:46 -0400, Ryan McKinley wrote:
> I'm struggling a bit with having the things defined with @proprty@ in
> the configs -- Unless I'm missing something, that seems to force you
> to use ant to run the app (so you get the replacement).
>
> Any reason we can't just use: ${property} and add something like
> this to the config?
>
> <bean id="placeholderConfig"
>
> class
> =
> "org
> .springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> <property name="locations">
> <list>
> <value>classpath:application.properties</value>
> </list>
> </property>
> <property
> name
> ="systemPropertiesModeName"><value>SYSTEM_PROPERTIES_MODE_OVERRIDE</
> value></property>
> </bean>
>
> This way the properties could be set from the command line -
> Ddroids.maxThread or from a external file.
>
> ryan
Big +1 to that.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]