} else { // internal resource (not an IFile or not existing)
IPath location;
if (file.getType() != IResource.FILE
- || (location = file.getLocation()) == null) {
+ || (location = file.getFullPath()) == null) {
throw new CoreException(
new Status(
IStatus.ERROR,
JavaCore.PLUGIN_ID, -1, Util.bind(
"file.notFound", path.toString()), null)); //$NON-NLS-1$
}
- IPath location = file.getLocation();
+ IPath location = file.getFullPath();
if (location == null) {
throw new CoreException(new Status(IStatus.ERROR,
JavaCore.PLUGIN_ID, -1, Util.bind(