public static String[] getLocationOSStrings(IResource[] resources) {
List result = new ArrayList(resources.length);
for (int i = 0; i < resources.length; i++) {
- IPath location = resources[i].getLocation();
+ IPath location = resources[i].getFullPath();
if (location != null)
result.add(location.toOSString());
}