Hmmm,

does the user running Karaf has permission to read the file/folder ?

Regards
JB

On 28/10/2019 08:11, David Leangen wrote:

You amaze me! How are you so fast?

Anyway…

Again you’ll have to excuse my ignorance, but…

[root@deimos features]# pwd
/home/karaf/features
[root@deimos features]# ls
01-enroute.xml  03-base.xml   05-platform.xml  07-ddd.xml          09-app.xml integral.xml   ws.xml 02-patches.xml 04-bucketz.xml  06-web.xml       08-application.xml 10-installation.xml  licensing.xml
[root@deimos features]#


Then:

karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml
Adding feature url file:/home/karaf/features/01-enroute.xml
Error executing command: /home/karaf/features/01-enroute.xml (No such file or directory) : file:/home/karaf/features/01-enroute.xml
karaf@root()>


Cheers,
=David


On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>> wrote:

Hi,

You can do:

feature:repo-add file:/path/to/your/features.xml

Then

feature:install -v -t enroute

Regards
JB

Reply via email to