title: Relative path from an OSGi bundle
body: <p>I have a updater bundle that lookups in a specific folder "bundle" and checks for new bundles to install and updates for currently installed bundles. Inside a parent directory, OSGi framework is in the "/framework" directory, updater bundle is in the "/system" directory and the directory needs to be checked is the "/bundles" directory in the same parent directory. Inside the updater bundle, a File object with a relative path is created but it's not working with the "./bundles" string, and i dont know which jar file the path is supposed to be relative with. I would appreciate any insight or information about this problem..
  Thanks,
  Deniz</p>
  
  <p><strong>Edit:</strong> Already figured out. Looks like path is resolved according to the Ruby script i use to start Equinox. So resolution path is a directory i start Equinox by passing it a "-console" flag using Ruby system. 
  Thanks for answers, Deniz</p>