Hi Manoj,

This list is for general OSGi development, and many of the people here do not 
use Bndtools.

For questions that are purely about how to use Bndtools, it is much better to 
send to the Bndtools mailing list. See http://bndtools.org/community.html


> On 12 Oct 2016, at 12:29, <manoj.vrajam...@wipro.com> 
> <manoj.vrajam...@wipro.com> wrote:
> Hi All,
> Working on Bndtools/Eclipse in Ubuntu Linux.
> I have downloaded cxf-bundle-jaxrs-2.7.18.jar and it is now available on my 
> Linux machine Downloads directory. 
> How do I add it into my Respository ? The Distro 'ADD' button seems to be 
> disabled *not* allowimg me to add !!! ( See attachment)
> Please suggest..
> Thanks,
> Manoj
> From: osgi-dev-boun...@mail.osgi.org <mailto:osgi-dev-boun...@mail.osgi.org> 
> <osgi-dev-boun...@mail.osgi.org <mailto:osgi-dev-boun...@mail.osgi.org>> on 
> behalf of Christian Schneider <ch...@die-schneider.net 
> <mailto:ch...@die-schneider.net>>
> Sent: 12 October 2016 16:41:29
> To: OSGi Developer Mail List
> Subject: Re: [osgi-dev] Help
> ** This mail has been sent from an external source **
> The jaxrs spec bundle is only a part of the solution. I could tell you how to 
> download it and add it to bndtools but that would not give a a running system 
> later.
> You also need an impl of the spec to provide a full runtime that can later 
> execute your service. 
> Manoj also asked me personally so I will paste my reply for other to pick up 
> from there.
> Regarding the problem with javax.ws.rs.* imports. This is the REST API it is 
> not available by default in java. You need a bundle with the REST API to 
> compile your code.
> You seem to use the bndtools build. So the first step is to add the 
> jar/bundles you need as an index. Your best bet should be the new pom based 
> index that Peter explained recently.
> The index described by this pom 
> https://github.com/apache/cxf-dosgi/tree/master/samples/repository 
> <https://github.com/apache/cxf-dosgi/tree/master/samples/repository> (Use the 
> 2.0.0 version) should contain all you need.
> If you do not know how to add the index to bndtools check the tutorials or 
> ask on the bndtools user list. (I guess maybe this can also be answered here 
> as all the experts are here).
> The next step is to add the jar as a build time dependency. You open the 
> bnd.bnd file with the bndtools editor and add the jar in the build tab. This 
> should fix the error you see in eclipse.
> Christian
> On 12.10.2016 11:30, manoj.vrajam...@wipro.com 
> <mailto:manoj.vrajam...@wipro.com> wrote:
>> Yeah..but where do I get this bundle? Download ? Can you tell me the exact 
>> bundle that I have to download ?
>> Supposing I download and it is available in the Downloads directory. Should 
>> it (and similar bundles) be placed in some special directory?
>> Further, How do I add it into my build path ?
>> From: osgi-dev-boun...@mail.osgi.org <mailto:osgi-dev-boun...@mail.osgi.org> 
>> [mailto:osgi-dev-boun...@mail.osgi.org 
>> <mailto:osgi-dev-boun...@mail.osgi.org>] On Behalf Of Neil Bartlett
>> Sent: 12 October 2016 14:56
>> To: OSGi Developer Mail List <osgi-dev@mail.osgi.org> 
>> <mailto:osgi-dev@mail.osgi.org>
>> Subject: Re: [osgi-dev] Help
>> ** This mail has been sent from an external source **
>> You need to have the JAX-RS API on your build path. 
> -- 
> Christian Schneider
> http://www.liquid-reality.de <http://www.liquid-reality.de/>
> Open Source Architect
> http://www.talend.com <http://www.talend.com/>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. WARNING: Computer viruses can be transmitted via 
> email. The recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage caused 
> by any virus transmitted by this email. www.wipro.com <http://www.wipro.com/> 
> <Screenshot from 2016-10-12 
> 16:58:50.png>_______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
OSGi Developer Mail List

Reply via email to