karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r961797 - /karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java
Date Thu, 08 Jul 2010 15:19:25 GMT
Author: gnodet
Date: Thu Jul  8 15:19:24 2010
New Revision: 961797

URL: http://svn.apache.org/viewvc?rev=961797&view=rev
Log:
Fix admin:stop command

Modified:
    karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java

Modified: karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java
URL: http://svn.apache.org/viewvc/karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java?rev=961797&r1=961796&r2=961797&view=diff
==============================================================================
--- karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java
(original)
+++ karaf/trunk/admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java
Thu Jul  8 15:19:24 2010
@@ -240,6 +240,7 @@ public class InstanceImpl implements Ins
             Properties props = loadPropertiesFile(configPropURL);
             props.put("karaf.base", new File(location).getCanonicalPath());
             props.put("karaf.home", System.getProperty("karaf.home"));
+            props.put("karaf.data", new File(new File(location), "data").getCanonicalPath());
             for (Enumeration e = props.propertyNames(); e.hasMoreElements();) {
                 String name = (String) e.nextElement();
                 props.setProperty(name,



Mime
View raw message