+ //
+ // // Create tag & mailing list parents
+ // if (resourceService.getTagLikeResourceParent(adminSession,
+ // PeopleConstants.RESOURCE_TAG) == null)
+ // resourceService.createTagLikeResourceParent(adminSession,
+ // PeopleConstants.RESOURCE_TAG,
+ // PeopleTypes.PEOPLE_TAG_INSTANCE, null, getBasePath(null),
+ // PeopleTypes.PEOPLE_ENTITY,
+ // PeopleNames.PEOPLE_TAGS);
+ // if (resourceService.getTagLikeResourceParent(adminSession,
+ // PeopleTypes.PEOPLE_MAILING_LIST) == null)
+ // resourceService.createTagLikeResourceParent(adminSession, null,
+ // PeopleTypes.PEOPLE_MAILING_LIST, null,
+ // getBasePath(null), PeopleTypes.PEOPLE_ENTITY,
+ // PeopleNames.PEOPLE_MAILING_LISTS);
+ //
+ // // Initialise catalogues
+ // importCatalogue(adminSession, initResources.get("SimpleTasks"),
+ // PeopleTypes.PEOPLE_TASK);
+ //
+ // if (adminSession.hasPendingChanges()) {
+ // adminSession.save();
+ // log.info("Resources have been added to Argeo Suite model");
+ // }
+ // } catch (IOException | RepositoryException e) {
+ // throw new SuiteException("Cannot initialise resources ", e);
+ // }
+ }