Hi,

I've upgraded to Karaf 4.0.6, and I'm attempting to script the installation
of all features in a features repository, without having to enumerate each
feature.  

With the return of the '-i' argument to feature:repo-add, I've added the
following line to 'etc/shell.init.script':
feature:repo-add -i mvn:edu.amherst.acdc/acrepo-karaf/LATEST/xml/features

After adding that line, I start the Karaf console and receive the following
error:
"Error in initialization script: Command not found: feature:repo-add"

The command works when I copy and paste it into the Karaf console, but does
not work when appended to to 'etc/shell.init.script'.  Do I mis-understand
the purpose or syntax of 'etc/shell.init.script', or is this a bug in Karaf?

Thanks again,
Elliot




--
View this message in context: 
http://karaf.922171.n3.nabble.com/feature-repo-add-i-broken-in-4-0-4-tp4046143p4048173.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to