title: Plugin project not treated as current working directory
body: <p>I have a plugin project, i wanted to create &amp; save a file in project folder.I coded in usual way,but its saving the file in the RCP installed folder in my case the rcp installed folder is </p>
  
  <pre><code>D:\RCP\eclipsercp
  </code></pre>
  
  <p>this is where my rcp eclipse.exe resides
  I tried to debug code using the following statements </p>
  
  <pre><code>System.out.println(System.getProperty("user.dir"));
  System.out.println(System.getProperty("user.dir"));
  System.out.println(new File (".").getAbsolutePath());
  try {
      System.out.println(new File (".").getCanonicalPath());
  } catch (IOException e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
  }
  </code></pre>
  
  <p>the output of the above statements is</p>
  
  <pre><code>D:\RCP\eclipsercp 
  D:\RCP\eclipsercp\. 
  D:\RCP\eclipsercp
  </code></pre>
  
  <p>so clearly it mean that the current working directory is the RCP installed location (i may be wrong)</p>
  
  <p>In general for a normal java project the current working directory is the project itself i checked with the same above code statements its fine for a normal java project.</p>
  
  <p>I am curious to know the reason behind this? And also how can i save a file in current project in an rcp i.e.., my plugin project</p>