title: Is there any way to change a properties file that is in my classpath?
body: <p>I have a properties file that is in my classpath. My requirement is to change some properties in this file based on some inputs I get from arguments. The nature of arguments decide whether I need to change the properties and if yes which properties to change. The problem is that all classpath entries are loaded at the application startup time, so changing from within my application would not have any effect. How do I overcome this problem? </p>
  
  <p>One possible solution I can think of is to not add this properties file in classpath but add after modifications are done. Is it viable? What can be a good solution?</p>