java - Override properties set in JAR file with local properties -


i have spring 3.0 mvc project uses jar file different project dependency. jar file has "auth.properties" file in it's resource , has string in this.

ex: packages.redirecturls.gotourl = 'http://myurl.com'; 

now, referring string in jar file in controller using:

@value("${packages.redirecturls.gotourl}") 

i have local "auth.properties" file consists of same string different value in it.

ex: packages.redirecturls.gotourl = 'http://newurl.com'; 

however, java code not able read new configuration , loads jar file. there way override jar file setting new setting?

thanks,


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -