// set the project file
this.projectFile = new File(domainConfigurationName);
// configure the ResourceLocator for plain files
ResourceLocator locator = this.getResourceLocator();
locator.setSkipAbsolutePath(false);
locator.setSkipClasspath(true);
locator.setSkipCurrentDirectory(false);
locator.setSkipHomeDirectory(true);
// add the file's location to the search path, if it exists
File projectDirectory = this.getProjectDirectory();
if (projectDirectory != null) {
locator.addFilesystemPath(projectDirectory.getPath());
}
}