IEclipsePreferences prefs = ComposerPlugin.getDefault().getProjectPreferences(project);
IPath[] inclusions;
try {
String encoded = prefs.get(ComposerPreferenceConstants.BUILDPATH_INCLUDES_EXCLUDES, "");
exclusions = scriptProject.decodeBuildpathEntry(encoded).getExclusionPatterns();
inclusions = scriptProject.decodeBuildpathEntry(encoded).getInclusionPatterns();
} catch (Exception e) {
exclusions = new IPath[]{};
inclusions = new IPath[]{};
}