title: How to get workspace programmatically?
body: <p>any one know how can I get current path of eclipse workspace programmatically. Since this path changes in every computer I want to get this thing programmatically and dynamically. It should return a string and it should be like <code>ersin/projects/proj/my_work_space_name</code>.</p>
  
  <p>by the way this code didnt work for me:
  <code>ResourcesPlugin.getWorkspace().getRoot().getLocation().toString()</code>
  it gives <code>ersin/projects/proj/runtime-EclipseApplication</code> whereas it should be <code>ersin/projects/proj/my_work_space_name</code>.</p>