try {
if (!editor.isEditable()) return;
IParseController pc = editor.getParseController();
if (pc == null) return;
IPath dpath = pc.getPath();
ISourceProject project = pc.getProject();
dpath = project != null ?
project.getRawProject().getLocation().append(dpath)
: dpath;
System.err.println("The path is " + dpath);
IWorkspace workspace= ResourcesPlugin.getWorkspace();
final IFile dfile = workspace.getRoot().getFileForLocation(dpath);
Job job = new Job("Compile " + dpath) {