X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2Fosgi%2FProcessDistribution.java;h=9ea467d773d9d5a507ad6e60b835d9cc6c49b7fa;hb=399702cec859f48ec171c30d268c55eb632d472a;hp=bdb81ae0b57454ae1ceac883f14ac36ddb4a87c2;hpb=bca1c6afbc73093b9dacb47b4dfd304d4d1b32cb;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ProcessDistribution.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ProcessDistribution.java index bdb81ae0b..9ea467d77 100644 --- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ProcessDistribution.java +++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/ProcessDistribution.java @@ -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);