import net.sourceforge.phpdt.core.compiler.InvalidInputException;
import net.sourceforge.phpdt.internal.compiler.parser.Scanner;
import net.sourceforge.phpdt.internal.compiler.parser.SyntaxError;
-import net.sourceforge.phpdt.internal.ui.util.PHPFileUtil;
+import net.sourceforge.phpdt.internal.core.util.PHPFileUtil;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import org.eclipse.core.resources.IContainer;
}
} catch (CoreException e) {
String msg = "Project: "
- + project.getLocation().toOSString()
+ + project.getFullPath().toOSString()
+ " CoreException " + e.getMessage();
result.addError(msg);
} catch (Exception e) {
String msg = "Project: "
- + project.getLocation().toOSString()
+ + project.getFullPath().toOSString()
+ " Exception " + e.getMessage();
result.addError(msg);
}
}
} catch (CoreException e) {
String msg = "Workspace: "
- + rootContainer.getLocation().toOSString()
+ + rootContainer.getFullPath().toOSString()
+ " CoreException " + e.getMessage();
result.addError(msg);
}
search(project, result);
}
} catch (CoreException e) {
- String msg = "Project: " + project.getLocation().toOSString()
+ String msg = "Project: " + project.getFullPath().toOSString()
+ " CoreException " + e.getMessage();
result.addError(msg);
} catch (Exception e) {
- String msg = "Project: " + project.getLocation().toOSString()
+ String msg = "Project: " + project.getFullPath().toOSString()
+ " Exception " + e.getMessage();
result.addError(msg);
}
}
} catch (InvalidInputException e) {
- String msg = "File: " + file.getLocation().toOSString()
+ String msg = "File: " + file.getFullPath().toOSString()
+ " InvalidInputException " + e.getMessage();
status.addError(msg);
} catch (SyntaxError e) {
- String msg = "File: " + file.getLocation().toOSString()
+ String msg = "File: " + file.getFullPath().toOSString()
+ " SyntaxError " + e.getMessage();
status.addError(msg);
}
} catch (Exception e) {
- String msg = "File: " + file.getLocation().toOSString()
+ String msg = "File: " + file.getFullPath().toOSString()
+ " Exception " + e.getMessage();
status.addError(msg);
}