Hi!
I was trying to use the following configuration:
It works perfectly if I set the system property msx.db. If I don't set it, it seems to disregard the <property name="properties">...</property> part, which is supposed to be the "default" properties.Code:<bean name="PropertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" > <property name="properties"> <props> <prop key="msx.db">hsqldb</prop> </props> </property> <property name="locations"> <list> <value>classpath:local.properties</value> <value>classpath:${msx.db}.properties</value> </list> </property> <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" /> </bean>
Any idea why?


Reply With Quote