if (path == null) {
// SyntaxError: "File: << >> doesn't exist in project."
String[] args = { expression.toStringExpression(),
- project.getLocation().toString() };
+ project.getFullPath().toString() };
problemReporter.phpIncludeNotExistWarning(args,
literal.sourceStart, literal.sourceEnd,
referenceContext,
// create a package name similar to java package names
String projectPath = ProjectPrefUtil.getDocumentRoot(file.getProject())
.toString();
- String filePath = file.getRawLocation().toString();
- String ext = file.getRawLocation().getFileExtension();
- int fileExtensionLength = ext == null ? 0 : ext.length() + 1;
- ImportReference impt;
- char[][] tokens;
+ String filePath = file.getFullPath().toString();
+
+ String ext = file.getFileExtension();
+ int fileExtensionLength = ext == null ? 0 : ext.length() + 1;
+ ImportReference impt;
+ char[][] tokens;
if (filePath.startsWith(projectPath)) {
tokens = CharOperation.splitOn('/', filePath.toCharArray(),
projectPath.length() + 1, filePath.length()