title: Call Property file from a jar included in my project
body: <p>I´ve included a jar (I built it: <strong>MyJar.jar</strong>) that i use to authenticate, in that jar I have to read some properties that I have in a package (e.g com.myproject.properties) inside a property file of my project.</p>
  
  <p>I have a method in <strong>MyJar.jar</strong> which receive the name of the property and the path for the property file something like this:</p>
  
  <pre><code>public String getValueOfProperty(String property,String pathToPropertyFile){
  
      BasicTextEncryptor encryptor = new BasicTextEncryptor();
           Properties props = new EncryptableProperties(encryptor);
           props.load(new FileInputStream(pathToPropertyFile));
           ....
  }
  </code></pre>
  
  <p>I got the following error: System can't find the specified path</p>
  
  <p>The path is: <strong>com/myproject/properties/conf.properties</strong></p>
  
  <p>What am I doing wrong?</p>