You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Fabian Lange <fa...@codecentric.de> on 2015/12/07 17:52:30 UTC

Time to fix a small start script issue for 4.0.4?

Hi,

I just was made aware that karaf fails to correctly use a directory
containing spaces.

How to reproduce on a Mac:

Download latest distribution & unpack into a directory containing spaces:
I had it in "/Users/fabian/Downloads/apache karaf"

Then start it from "/Users/fabian/Downloads/apache karaf/bin" using
"./karaf"

Karaf will create and use a directory called
"/Users/fabian/Downloads/apache%20karaf" for data and instances.

Is that the launch script which incorrectly calculates KARAF_HOME?

Fabian

Re: Time to fix a small start script issue for 4.0.4?

Posted by Fabian Lange <fa...@codecentric.de>.
yes correct, indeed that is a regression and it works correctly in 4.0.2

Fabian


On Mon, Dec 7, 2015 at 6:10 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:

> Hi Fabian,
>
> I think it's also related to KARAF-4138.
>
> I'm fixing that. I guess that it works fine with Karaf 4.0.2 (it's a
> regression introduced in 4.0.3), correct ?
>
> Regards
> JB
>
>
> On 12/07/2015 05:52 PM, Fabian Lange wrote:
>
>> Hi,
>>
>> I just was made aware that karaf fails to correctly use a directory
>> containing spaces.
>>
>> How to reproduce on a Mac:
>>
>> Download latest distribution & unpack into a directory containing spaces:
>> I had it in "/Users/fabian/Downloads/apache karaf"
>>
>> Then start it from "/Users/fabian/Downloads/apache karaf/bin" using
>> "./karaf"
>>
>> Karaf will create and use a directory called
>> "/Users/fabian/Downloads/apache%20karaf" for data and instances.
>>
>> Is that the launch script which incorrectly calculates KARAF_HOME?
>>
>> Fabian
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Time to fix a small start script issue for 4.0.4?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Fabian,

I think it's also related to KARAF-4138.

I'm fixing that. I guess that it works fine with Karaf 4.0.2 (it's a 
regression introduced in 4.0.3), correct ?

Regards
JB

On 12/07/2015 05:52 PM, Fabian Lange wrote:
> Hi,
>
> I just was made aware that karaf fails to correctly use a directory
> containing spaces.
>
> How to reproduce on a Mac:
>
> Download latest distribution & unpack into a directory containing spaces:
> I had it in "/Users/fabian/Downloads/apache karaf"
>
> Then start it from "/Users/fabian/Downloads/apache karaf/bin" using
> "./karaf"
>
> Karaf will create and use a directory called
> "/Users/fabian/Downloads/apache%20karaf" for data and instances.
>
> Is that the launch script which incorrectly calculates KARAF_HOME?
>
> Fabian
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com