karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1538610 - in /karaf/trunk/wrapper: command/src/main/java/org/apache/karaf/wrapper/commands/Install.java core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
Date Mon, 04 Nov 2013 14:06:13 GMT
Author: jbonofre
Date: Mon Nov  4 14:06:13 2013
New Revision: 1538610

URL: http://svn.apache.org/r1538610
Log:
[KARAF-2524] Correctly populate the APP_LONG_NAME in wrapper karaf-service script

Modified:
    karaf/trunk/wrapper/command/src/main/java/org/apache/karaf/wrapper/commands/Install.java
    karaf/trunk/wrapper/core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java

Modified: karaf/trunk/wrapper/command/src/main/java/org/apache/karaf/wrapper/commands/Install.java
URL: http://svn.apache.org/viewvc/karaf/trunk/wrapper/command/src/main/java/org/apache/karaf/wrapper/commands/Install.java?rev=1538610&r1=1538609&r2=1538610&view=diff
==============================================================================
--- karaf/trunk/wrapper/command/src/main/java/org/apache/karaf/wrapper/commands/Install.java
(original)
+++ karaf/trunk/wrapper/command/src/main/java/org/apache/karaf/wrapper/commands/Install.java
Mon Nov  4 14:06:13 2013
@@ -35,7 +35,7 @@ public class Install extends AbstractAct
 	private String name = "karaf";
 
 	@Option(name = "-d", aliases = { "--display" }, description = "The display name of the service.",
required = false, multiValued = false)
-	private String displayName;
+	private String displayName = "karaf";
 
 	@Option(name = "-D", aliases = { "--description" }, description = "The description of the
service.", required = false, multiValued = false)
 	private String description = "";

Modified: karaf/trunk/wrapper/core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
URL: http://svn.apache.org/viewvc/karaf/trunk/wrapper/core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java?rev=1538610&r1=1538609&r2=1538610&view=diff
==============================================================================
--- karaf/trunk/wrapper/core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
(original)
+++ karaf/trunk/wrapper/core/src/main/java/org/apache/karaf/wrapper/internal/WrapperServiceImpl.java
Mon Nov  4 14:06:13 2013
@@ -36,7 +36,7 @@ public class WrapperServiceImpl implemen
     private final static Logger LOGGER = LoggerFactory.getLogger(WrapperServiceImpl.class);
 
     public void install() throws Exception {
-        install("karaf", "", "", "AUTO_START");
+        install("karaf", "karaf", "", "AUTO_START");
     }
 
     public File[] install(String name, String displayName, String description, String startType)
throws Exception {



Mime
View raw message