Are you trying to use a eclipse feature file?
Those are incompatible to a Karaf feature file, just the name is the same.
If you want to install a bundle in karaf do a:
osgi:install file:bundle-x

regards, Achim


2014-05-31 22:54 GMT+02:00 Florian <[email protected]>:

> Hello,
>
>
> How create a bundle using karaf ?
>
> in eclipse :  I export a jar with a manifest file ... and why I have this
> error :
>
>
> karaf@root(dev)> feature:repo-add
> file:///C:/Users/Florian/Downloads/apache-
> kara
> f-3.0.1/apache-karaf-3.0.1/deploy/features.xml
> Adding feature url file:///C:/Users/Florian/Downloads/apache-karaf-
> 3.0.1/apache-
> karaf-3.0.1/deploy/features.xml
> karaf@root(dev)> feature:install greeter_server
> Error executing command: Jar is not a bundle, no Bundle-SymbolicName
> file:///C:/
> Users/Florian/Downloads/apache-karaf-3.0.1/apache-karaf-
> 3.0.1/deploy/nebula_cdat
> etime_VF4.jar
> karaf@root(dev)>
>
>
> Thank you for your help,
>
> Florian
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to