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 Sat, 27 Dec 2014 18:12:00 GMT
Repository: karaf
Updated Branches:
  refs/heads/master cc9f9ec7a -> 49ae2040c


[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/49ae2040
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/49ae2040
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/49ae2040

Branch: refs/heads/master
Commit: 49ae2040cb1f8801a9a78a6925564239cacc2ad5
Parents: cc9f9ec
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sat Dec 27 19:11:13 2014 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sat Dec 27 19:11:13 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/49ae2040/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