karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: [KARAF-3377] Doesn't change the title of the current window by the bin\start.bat script
Date Sun, 28 Dec 2014 19:04:19 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 482ee748c -> 029e0885a


[KARAF-3377] Doesn't change the title of the current window by the bin\start.bat script


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/029e0885
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/029e0885
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/029e0885

Branch: refs/heads/karaf-3.0.x
Commit: 029e0885aaf72cb8792a419f931b8bbde8b16117
Parents: 482ee74
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sun Dec 28 20:03:46 2014 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sun Dec 28 20:03:46 2014 +0100

----------------------------------------------------------------------
 .../main/filtered-resources/resources/bin/start.bat    | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/029e0885/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat
----------------------------------------------------------------------
diff --git a/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat
b/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat
index ad3943e..636774e 100644
--- a/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat
+++ b/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat
@@ -30,13 +30,6 @@ if exist "%DIRNAME%setenv.bat" (
   call "%DIRNAME%setenv.bat"
 )
 
-rem Check console window title. Set to Karaf by default
-if not "%KARAF_TITLE%" == "" (
-    title %KARAF_TITLE%
-) else (
-    title Karaf
-)
-
 goto BEGIN
 
 :warn
@@ -86,8 +79,12 @@ if "%KARAF_ETC%" == "" (
     set "KARAF_ETC=%KARAF_BASE%\etc"
 )
 
+if "%KARAF_TITLE%" == "" (
+    set "KARAF_TITLE=Karaf"
+)
+
 :EXECUTE
-    start "Karaf" /MIN "%KARAF_HOME%\bin\karaf.bat" server %*
+    start "%KARAF_TITLE%" /MIN "%KARAF_HOME%\bin\karaf.bat" server %*
 
 rem # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 


Mime
View raw message