Environment specific properties from user home in springboot
<p>I am working on a spring boot application in which i have to set <code>Environment specific properties</code> from user home folder. </p>

<p>i dig Google for the same &amp; found we can put different properties file (dev, test, production) under resources and then we have to tell spring boot which environment we want to use using <code>spring.profiles.active=dev OR prod</code>. </p>

<p>however, my requirement is quite different. i will put a file in user home in my system &amp; want to read properties form that file. how can i do that, need guidance.</p>

<p>Helping hands will be highly appreciated.</p>