I\'m using spring with my application, and I\'m able to inject some properties from some file on a class path into my app and everything works perfectly. i.e.
&
I had a similar problem sometime back. My requirement was the the property files is not bundled inside the application (and hence not in classpath). The file could be at any location in file system. Here is how I solved it,
I am reusing your example
file://${APP_PROP_HOME}/application.properties
The Spring resolves ${APP_PROP_HOME} to the value stored in corresponding env property and your application is configured at runtime.