rst.types = new ArrayList<NamedResource>(typeResources.size());\r
rst.principalTypes = new ArrayList<NamedResource>(principalTypeResources.size());\r
for (Resource t : typeResources) {\r
- String aprosName = graph.getPossibleRelatedValue(t, L0.HasName, Bindings.STRING);\r
- if (aprosName == null)\r
- aprosName = NameUtils.getSafeLabel(graph, t);\r
- NamedResource nr = NamedResource.of(graph, t, aprosName);\r
+ String typeName = graph.getPossibleRelatedValue(t, L0.HasName, Bindings.STRING);\r
+ if (typeName == null)\r
+ typeName = NameUtils.getSafeLabel(graph, t);\r
+ NamedResource nr = NamedResource.of(graph, t, typeName);\r
rst.types.add(nr);\r
if (principalTypeResources.contains(t))\r
rst.principalTypes.add(nr);\r
support.getWorkspacePersistent("profiles");\r
support.getWorkspacePersistent("preferences");\r
support.getWorkspacePersistent("issues");\r
- \r
- // Before activating, make sure that the necessary activations have been installed into the project.\r
- //final Set<Resource> requiredActivations = new HashSet<Resource>();\r
- //requiredActivations.add(APROS.IndexActivation);\r
- \r
- \r
\r
} catch (DatabaseException e) {\r
\r