final IProjectFacet webFacet = ProjectFacetsManager
.getProjectFacet(FACET_ID);
if (faceted.hasProjectFacet(webFacet)) {
return;
}
final IProjectFacetVersion version = webFacet.getVersion(FACET_VERSION_1_0);
faceted.installProjectFacet(version, null, new NullProgressMonitor());
try {
this.storage = new SettingsPhpProjectStorage(project);
} catch (BackingStoreException e) {
throw new CoreException(new Status(IStatus.ERROR, PEXServerPlugin.PLUGIN_ID, "Error reading preferences", e)); //$NON-NLS-1$