use of @property@ in spring configs ----------------------------------- Key: LABS-151 URL: https://issues.apache.org/jira/browse/LABS-151 Project: Labs Issue Type: Improvement Components: Droids Reporter: Thorsten Scherler
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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]