]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ProcessDistribution.java
Add BSD License.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.repo / src / main / java / org / argeo / slc / repo / osgi / ProcessDistribution.java
index bdb81ae0b57454ae1ceac883f14ac36ddb4a87c2..9ea467d773d9d5a507ad6e60b835d9cc6c49b7fa 100644 (file)
@@ -33,17 +33,12 @@ public class ProcessDistribution implements Runnable {
                                        .nameVersions(); it.hasNext();)
                                processNameVersion(javaSession, it.next());
 
+                       // explicitly create the corresponding modular distribution as we
+                       // have here all necessary info.
                        ModularDistributionFactory mdf = new ModularDistributionFactory(
                                        osgiFactory, osgiDistribution);
                        mdf.run();
 
-                       // TODO why is the created distribution not automatically indexed?
-                       // osgiFactory.indexNode(node);
-                       // javaSession.save();
-
-                       // Node artifact = createDistributionArtifact(javaSession,
-                       // osgiDistribution);
-
                } catch (RepositoryException e) {
                        throw new SlcException("Cannot process distribution "
                                        + osgiDistribution, e);