docs: public void createDefaultProject(String name, String description) throws Exception {
  
          String storedSiteRoot = m_cms.getRequestContext().getSiteRoot();
          try {
              m_cms.getRequestContext().setSiteRoot("/");
              CmsProject project = m_cms.createProject(
                  name,
                  description,
                  OpenCms.getDefaultUsers().getGroupUsers(),
                  OpenCms.getDefaultUsers().getGroupUsers(),
                  CmsProject.PROJECT_TYPE_NORMAL);
              m_cms.getRequestContext().setCurrentProject(project);
              m_cms.copyResourceToProject("/");
          } finally {
              m_cms.getRequestContext().setSiteRoot(storedSiteRoot);
          }
          if (OpenCms.getRoleManager().hasRole(m_cms, CmsRole.WORKPLACE_MANAGER)) {
              // re-initialize the search indexes after default project generation
              OpenCms.getSearchManager().initialize(m_cms);
          }
      }