|ResourcesPlugin.getWorkspace() returning wrong location [message #926129]
||Fri, 28 September 2012 10:27
| Ronan Crowley
Registered: June 2012
During application debugging, I have code that executes looking up project resources.
This is reporting an error because of the relative path of .
My current folder is detected as: C:\apps\Studio_180131_846\studio\studio
This is correct as eclipse.exe is here: C:\apps\Studio_180131_846\studio\studio\eclipse.exe
However, when I try to get the project location to read the resource that's where the problems start.
ResourcesPlugin.getWorkspace().getRoot().getLocation(); returns C:/Users/ronan.crowley/workspace
But, No such folder exists!
My real workspace is: C:\apps\Studio_180131_846\workspace\
Powered by FUDForum
. Page generated in 0.01616 seconds