- private void indexDistribution(Node distNode) throws RepositoryException {
- distNode.addMixin(SlcTypes.SLC_MODULAR_DISTRIBUTION);
- distNode.addMixin(SlcTypes.SLC_CATEGORIZED_NAME_VERSION);
- distNode.setProperty(SlcNames.SLC_CATEGORY,
- osgiDistribution.getCategory());
- distNode.setProperty(SlcNames.SLC_NAME, osgiDistribution.getName());
- distNode.setProperty(SlcNames.SLC_VERSION,
- osgiDistribution.getVersion());
-
- if (distNode.hasNode(SlcNames.SLC_MODULES))
- distNode.getNode(SlcNames.SLC_MODULES).remove();
- Node modules = distNode.addNode(SlcNames.SLC_MODULES,
- NodeType.NT_UNSTRUCTURED);
-
- for (Iterator<? extends NameVersion> it = osgiDistribution
- .nameVersions(); it.hasNext();)
- addModule(modules, it.next());
- }
+ // private void indexDistribution(Node distNode) throws RepositoryException
+ // {
+ // distNode.addMixin(SlcTypes.SLC_MODULAR_DISTRIBUTION);
+ // distNode.addMixin(SlcTypes.SLC_CATEGORIZED_NAME_VERSION);
+ // distNode.setProperty(SlcNames.SLC_CATEGORY,
+ // osgiDistribution.getCategory());
+ // distNode.setProperty(SlcNames.SLC_NAME, osgiDistribution.getName());
+ // distNode.setProperty(SlcNames.SLC_VERSION,
+ // osgiDistribution.getVersion());
+ //
+ // if (distNode.hasNode(SlcNames.SLC_MODULES))
+ // distNode.getNode(SlcNames.SLC_MODULES).remove();
+ // Node modules = distNode.addNode(SlcNames.SLC_MODULES,
+ // NodeType.NT_UNSTRUCTURED);
+ //
+ // for (Iterator<? extends NameVersion> it = osgiDistribution
+ // .nameVersions(); it.hasNext();)
+ // addModule(modules, it.next());
+ // }