Claus Ibsen created KARAF-3377:
----------------------------------

             Summary: Starting Karaf on Windows changes console title
                 Key: KARAF-3377
                 URL: https://issues.apache.org/jira/browse/KARAF-3377
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 3.0.2, 2.4.0
         Environment: Windows
            Reporter: Claus Ibsen
            Priority: Minor


If you want to start karaf on windows, you can use

bin\start

And it startup karaf, but the start.bat script has an issue. 

a) it set the title of current command window to KARAF_TITLE
b) it sets the spawned command window to hardcoded Karaf

The problem is that it should not do (a) as the current command window is just 
a CLI to control karaf, not to run the karaf itself.

And for (b) it should actually use KARAF_TITLE as the title, so you can control 
this.

This code at should be removed
https://github.com/apache/karaf/blob/master/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat#L33

And the KARAF_TITLE code from above should be used here instead, eg so the 
spawned window gets the title of choice
https://github.com/apache/karaf/blob/master/assemblies/features/framework/src/main/filtered-resources/resources/bin/start.bat#L90



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to