karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ioca...@apache.org
Subject svn commit: r1509761 - /karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java
Date Fri, 02 Aug 2013 16:17:10 GMT
Author: iocanel
Date: Fri Aug  2 16:17:09 2013
New Revision: 1509761

URL: http://svn.apache.org/r1509761
Log:
[KARAF-2427] Explicitly set karaf.data on instances.

Modified:
    karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java

Modified: karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java
URL: http://svn.apache.org/viewvc/karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java?rev=1509761&r1=1509760&r2=1509761&view=diff
==============================================================================
--- karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java
(original)
+++ karaf/trunk/instance/core/src/main/java/org/apache/karaf/instance/core/internal/InstanceServiceImpl.java
Fri Aug  2 16:17:09 2013
@@ -418,6 +418,7 @@ public class InstanceServiceImpl impleme
                         + " -Djava.ext.dirs=\"" + new File(new File(new File(System.getProperty("java.home"),
"jre"), "lib"), "ext") + System.getProperty("path.separator") + new File(new File(System.getProperty("java.home"),
"lib"), "ext") + System.getProperty("path.separator") + new File(libDir, "ext").getCanonicalPath()
+ "\""
                         + " -Dkaraf.home=\"" + System.getProperty("karaf.home") + "\""
                         + " -Dkaraf.base=\"" + new File(location).getCanonicalPath() + "\""
+                        + " -Dkaraf.data=\"" + new File(new File(location).getCanonicalPath(),
"data") + "\""
                         + " -Dkaraf.startLocalConsole=false"
                         + " -Dkaraf.startRemoteShell=true"
                         + " -classpath " + classpath.toString()



Mime
View raw message