X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=inline;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2Fosgi%2FOsgiFactoryImpl.java;h=86a15ef27076416a678c2d9fe2630468ccbdf846;hb=5f40d8d483bdd509881bf09fa9eedf259146be65;hp=e6b8b323e624f1e8dcfd3e9223f0c1211dd52da8;hpb=cccc27ac3b1d94116b457b2ffd3d71e7af0db193;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/OsgiFactoryImpl.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/OsgiFactoryImpl.java index e6b8b323e..86a15ef27 100644 --- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/OsgiFactoryImpl.java +++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/osgi/OsgiFactoryImpl.java @@ -58,6 +58,8 @@ public class OsgiFactoryImpl implements OsgiFactory, SlcNames { Session javaSession = null; Session distSession = null; try { + // TODO rather user a JavaRepoManager that will also implicitely + // manage the indexing of newly created nodes. javaSession = JcrUtils.loginOrCreateWorkspace(javaRepository, workspace); distSession = JcrUtils.loginOrCreateWorkspace(distRepository, @@ -169,7 +171,7 @@ public class OsgiFactoryImpl implements OsgiFactory, SlcNames { return loadUrlToPath(url, distSession, distPath); } catch (FileNotFoundException e) { if (log.isDebugEnabled()) - log.debug("Cannot download" + url + log.debug("Cannot download " + url + ", trying another mirror"); } }