This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.crankstart.launcher-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-crankstart-launcher.git
commit 358b3e4a3938f04e2758c73732589e5b0a326a62 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Tue Jul 1 08:35:48 2014 +0000 SLING-3720 - set crankstart.jar.path - contributed by Artyom Stetsenko, thanks! git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/crankstart/launcher@1607018 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/crankstart/launcher/Main.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/apache/sling/crankstart/launcher/Main.java b/src/main/java/org/apache/sling/crankstart/launcher/Main.java index 8daf01f..5c4d30a 100644 --- a/src/main/java/org/apache/sling/crankstart/launcher/Main.java +++ b/src/main/java/org/apache/sling/crankstart/launcher/Main.java @@ -16,6 +16,8 @@ */ package org.apache.sling.crankstart.launcher; +import org.apache.sling.crankstart.api.CrankstartConstants; + /** Execute a crankstart file */ public class Main { public static final String CLASSPATH_PREFIX = "classpath "; @@ -28,6 +30,7 @@ public class Main { } else { crankFile = args[0]; } + System.setProperty(CrankstartConstants.CRANKSTART_JAR_PATH, Main.class.getProtectionDomain().getCodeSource().getLocation().getPath()); new CrankstartBootstrap(crankFile).start(); } } \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
