-
1. Re: Specifying property file location for <ext:property-placeholder>
constv7 Nov 15, 2012 10:33 AM (in response to constv7)Can someone please explain/provide an example how to correctly point Blueprint configuration to an external properties file so that the ${...} placeholders in Blueprint bean definitions can be resolved? I thought the <ext:property-placeholder> /<ext:location> definition does just that, but, for some reason, it just does not recognize an existing file and throws a FileNotFoundException. (see the Blueprint config XML above.) What is missing? Note, I am not talking about the ConfigAdmin properties, it is an external .properties file on the file system, e.g. placed under <karaf-home>/etc folder.
Could this have anything to do with how Equinox resolves URLs? (I am using Equinox, but I think I am seeing the same results if I switch to Felix.)
Thanks for your help!