I would try:

<list> <value>classpath*:wmq.properties</value> </list>

Matt

On Sat, Jul 25, 2009 at 6:26 AM, jmowla <jmo...@gmail.com> wrote:

>
> hi all,
> i'm using "PropertyPlaceholderConfigurer" within jar file and tried to put
> this jar file into the main modular application. the definition of
> applicationContext.xml are as follows:
>
> <bean id="propertyConfigurer"
>
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>        <property name="locations">
>                <list> <value>classpath:wmq.properties</value> </list>
>        </property>
> </bean>
>
> everything is ok while i'm testing the jar file standalone. but when i'm
> using this jar file in the main application the application will fail
> because of placeholders :(
> in the main application i have another "PropertyPlaceholderConfigurer" bean
> and i don't want to add "wmq.properties" in this bean.
> the question is: how can i configure .jar locally property-configurer bean
> without needing to cascade remarking .properties file in upper bean
> configuration file?
> thanks in advance
> --
> View this message in context:
> http://www.nabble.com/PropertyPlaceholderConfigurer-in-jar-file-tp24657493s2369p24657493.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to