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

Reply via email to