Nicolas Dutertry created KARAF-6343:
---------------------------------------

             Summary: client.bat does not work
                 Key: KARAF-6343
                 URL: https://issues.apache.org/jira/browse/KARAF-6343
             Project: Karaf
          Issue Type: Bug
          Components: karaf
    Affects Versions: 4.2.6
            Reporter: Nicolas Dutertry


It is not possible to use client.bat on Windows. The following error appears 
every time the script is used:
{code:none}
Logging in as karaf
Error executing command: Cannot coerce 1() to any of []{code}
This is due to the following code at the end of client.bat:
{code:none}
if "%SHIFT%" == "true" SET ARGS=%2 %3 %4 %5 %6 %7 %8 %9 %10 %11
if not "%SHIFT%" == "true" SET ARGS=%1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11{code}
It is not allowed to use %10 et %11 in windows scripting, the maximum 
authorized value is %9.

When removing %10 and %11 from the script, it works as expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to