protected String phar;
public void setUp(IProject project) throws ScriptNotFoundException {
IResource phar = getScript(project);
if (phar == null) {
throw new ScriptNotFoundException("No script found in project " + project.getName());
}
if (phar.getFullPath().segmentCount() != 2) {
throw new ScriptNotFoundException("The script file in project " + project.getName() + " is in the wrong location.");
}
this.phar = phar.getFullPath().removeFirstSegments(1).toOSString();
}