You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by XiLai Dai <xl...@talend.com> on 2017/03/09 05:36:16 UTC
The source command behaviour in karaf 4.1.0
Hi, there
With karaf 4.0.x or even previous versions,
karaf@root()>source myscripts/abc.source
it works well.
but in case of karaf 4.1.0, it doesn't work anymore
karaf@trun()> source scripts/abc.source
Error executing command: URI is not absolute
there are workarounds:
1) source file:D:/apache-karaf-4.1.0/scripts/abc.source
2) source file:.scripts/abc.source
the argument only support URI not relative path anymore. is it regression problem? or the expected behaviour from 4.1.0?
Thanks
Xilai
Re: The source command behaviour in karaf 4.1.0
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks !
Regards
JB
On 03/09/2017 07:45 AM, XiLai Dai wrote:
> Thanks JB!
>
>
> the jira is created: https://issues.apache.org/jira/browse/KARAF-5019
>
> ------------------------------------------------------------------------
> *From:* Jean-Baptiste Onofr <jb...@nanthrax.net>
> *Sent:* Thursday, March 9, 2017 2:18:31 PM
> *To:* user@karaf.apache.org
> *Subject:* Re: The source command behaviour in karaf 4.1.0
>
> Hi Xilai,
>
> It's indeed a change to allow to support any kind of URI/URL.
>
> However, we can re-introduce relative path support by checking prefix.
>
> Can you create a Jira about that ?
>
> Thanks,
> Regards
> JB
>
> On 03/09/2017 06:36 AM, XiLai Dai wrote:
>> Hi, there
>>
>>
>> With karaf 4.0.x or even previous versions,
>>
>> karaf@root()>source myscripts/abc.source
>>
>> it works well.
>>
>>
>> but in case of karaf 4.1.0, it doesn't work anymore
>>
>> karaf@trun()> source scripts/abc.source
>> Error executing command: URI is not absolute
>>
>>
>> there are workarounds:
>>
>> 1) source file:D:/apache-karaf-4.1.0/scripts/abc.source
>>
>> 2) source file:.scripts/abc.source
>>
>>
>> the argument only support URI not relative path anymore. is it
>> regression problem? or the expected behaviour from 4.1.0?
>>
>>
>> Thanks
>>
>> Xilai
>>
>
> --
> Jean-Baptiste Onofr
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
--
Jean-Baptiste Onofr
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: The source command behaviour in karaf 4.1.0
Posted by XiLai Dai <xl...@talend.com>.
Thanks JB!
the jira is created: https://issues.apache.org/jira/browse/KARAF-5019
________________________________
From: Jean-Baptiste Onofré <jb...@nanthrax.net>
Sent: Thursday, March 9, 2017 2:18:31 PM
To: user@karaf.apache.org
Subject: Re: The source command behaviour in karaf 4.1.0
Hi Xilai,
It's indeed a change to allow to support any kind of URI/URL.
However, we can re-introduce relative path support by checking prefix.
Can you create a Jira about that ?
Thanks,
Regards
JB
On 03/09/2017 06:36 AM, XiLai Dai wrote:
> Hi, there
>
>
> With karaf 4.0.x or even previous versions,
>
> karaf@root()>source myscripts/abc.source
>
> it works well.
>
>
> but in case of karaf 4.1.0, it doesn't work anymore
>
> karaf@trun()> source scripts/abc.source
> Error executing command: URI is not absolute
>
>
> there are workarounds:
>
> 1) source file:D:/apache-karaf-4.1.0/scripts/abc.source
>
> 2) source file:.scripts/abc.source
>
>
> the argument only support URI not relative path anymore. is it
> regression problem? or the expected behaviour from 4.1.0?
>
>
> Thanks
>
> Xilai
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: The source command behaviour in karaf 4.1.0
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Xilai,
It's indeed a change to allow to support any kind of URI/URL.
However, we can re-introduce relative path support by checking prefix.
Can you create a Jira about that ?
Thanks,
Regards
JB
On 03/09/2017 06:36 AM, XiLai Dai wrote:
> Hi, there
>
>
> With karaf 4.0.x or even previous versions,
>
> karaf@root()>source myscripts/abc.source
>
> it works well.
>
>
> but in case of karaf 4.1.0, it doesn't work anymore
>
> karaf@trun()> source scripts/abc.source
> Error executing command: URI is not absolute
>
>
> there are workarounds:
>
> 1) source file:D:/apache-karaf-4.1.0/scripts/abc.source
>
> 2) source file:.scripts/abc.source
>
>
> the argument only support URI not relative path anymore. is it
> regression problem? or the expected behaviour from 4.1.0?
>
>
> Thanks
>
> Xilai
>
--
Jean-Baptiste Onofr
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com