Absolute path of a file inside a project package
<p>I've created a file inside a project package using this code:</p>

<pre><code>File xmlFile = new File("src/com/company/project/xml/tags.xml");
</code></pre>

<p>I am able to read the file while running from eclipse. However, after creating .jar, I'm unable to read the file. So I want to put absolute path while reading the file from the project package. How it can be done? Help and suggestions are appreciated.  </p>