title: How to set build path configuration in spring boot webapp
body: <p>I am in new to spring boot. I have created a web app using spring boot. My application require some properties file to do the processing. In eclipse What I do i set the path on <code>Run configuration</code> like bellow.</p>
  
  <p><a href="https://i.stack.imgur.com/HRBGc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HRBGc.png" alt="Bellow is the screen shot "></a> 
    Now When I run the application I gets the require file on path and run smoothly.
  Now I want to deploy the war file on some server. How do i provide this path to my application.</p>
  
  <p>Bellow is the project structure of my project. and files are here
  highlighted 
  <a href="https://i.stack.imgur.com/pIO9C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pIO9C.png" alt="enter image description here"></a></p>
  
  <p>How do I set this file path using <code>application.properties</code> or any other way so that, I don't have to provide the path from run configuration, and the <code>.war</code> can be deploy on any server.  </p>
  
  <p><strong>Update 1</strong> : This what I tried.
  Created a <code>customStart.bat</code> 
  content of the file is </p>
  
  <pre><code>set CATALINA_OPTS="-engine.home="/src/main/resources/" -Dlog4j.configuration=config/log4j.xml -Dlog4j.debug=true"
  call startup.bat %CATALINA_OPTS%
  </code></pre>
  
  <p>But still that argument is not set. How do I do that?</p>