Hi,

I just got the shell working.

See this index and bndrun:
https://github.com/cschneider/bndtools-tutorials/blob/master/karaf-shell/shell.bndrun
https://github.com/cschneider/bndtools-tutorials/blob/master/karaf-shell/pom.xml

Not sure what the difference is. I recommend you try to add the properties I used.
I did not need to create any config files for etc.

Btw. In your example you had lots of bundles in the required bundles list. I am pretty sure most of them are figured out automatically. As you see I only needed two bundles.

Christian

On 11.02.2017 17:31, G. Y. wrote:

.... further to my previous post, I'd like to clarify that as a starting point, I identified the dependencies using the karaf command 'feature:info -t' to get the tree of bundles required by the feature. This can be done in batch from the shell using the karaf 'client' utility.


Not being aware of a more straightforward way, I had to do it this way in bash to get the dependencies for the feature shell/4.0.8 as an example:

( printf '<dependencies>'
bin/client 'feature:info -t shell 4.0.8' | fmt -1 | sed 's/[ \t]*//' | grep '^mvn:' | sort | uniq | cut -d: -f2 |tr -s '/' ' ' | while read groupId artefactId version x y z
do
printf '<dependency><groupId>%s</groupId><artifactId>%s</artifactId><version>%s</version></dependency>%n' $groupId $artefactId $version
done
echo '</dependencies>') | xmllint --format - | grep -Ev '^<\?xml'
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]

---
You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to