X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.support.jcr%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fjcr%2FSlcJcrUtils.java;h=81504b77657f70689673802ddbe3613b07664047;hb=4444b88528fd1ba4de62d47bf885bbe9403d2216;hp=57d8ce55c65563dbb8f22057fce32a2138235ff3;hpb=189104084d341727dbb32cb97550b3db90f6ec7f;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcJcrUtils.java b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcJcrUtils.java index 57d8ce55c..81504b776 100644 --- a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcJcrUtils.java +++ b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/SlcJcrUtils.java @@ -81,10 +81,10 @@ public class SlcJcrUtils implements SlcNames { } /** Create a new execution result path based on the current time */ - public static String createResultPath(String uuid) { + public static String createResultPath(String username, String uuid) { Calendar now = new GregorianCalendar(); - return SlcJcrConstants.RESULTS_BASE_PATH + '/' - + JcrUtils.dateAsPath(now, true) + uuid; + return JcrUtils.getUserHomePath(username) + '/' + SlcNames.SLC_RESULTS + + '/' + JcrUtils.dateAsPath(now, true) + uuid; } /**