if (!sp.siteExists(wn, defaultState)) {
Workspace w = sp.createSite(wn, defaultState);
JcrSession session = brix.getCurrentSession(w.getId());
session.importXML("/", getClass().getResourceAsStream("workspace.xml"),
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
brix.initWorkspace(w, session);
session.save();