felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Goodall <simon.good...@minimaxlabs.com>
Subject Re: Generating Source bundles for eclipse
Date Tue, 08 Nov 2011 13:43:12 GMT
Hi,

I tried adding <_sources> (and a <_sourcepath>) to my <instructions>
section of my pom.xml and also to a bnd.bnd file with <_include>.
Under the bundle plugin version 2.3.5 nothing appears to happen. Under
2.4.0-SNAPSHOT I get a class cast exception.

>From the description it appears that the sources will appear inside
the same bundle. I am trying to create a separate source bundle.

Thanks,

Simon

On 31 October 2011 13:11, Peter Kriens <peter.kriens@aqute.biz> wrote:
> Just put -sources in the bnd file. This will put your sources in the JAR at OSGI-INF,
eclipse will recognize this.
>
> Peter Kriens
>
> -----
> Sent while on the road, mobile +33698332260
>
>
> Op 31 okt. 2011 om 11:59 heeft Simon Goodall <simon.goodall@minimaxlabs.com> het
volgende geschreven:
>
>> I am trying to generate a source bundle for use in eclipse. This
>> requires the source bundle to have specific manifest entries. I can
>> manually add these using the standard jar manifest properties in my
>> pom. However I need the symbolic name and the bundle osgi version. Is
>> there a way to hook the maven bundle plugin into the source jar
>> creation - or is it possible to expose this information as properties
>> which can be accessed in the pom?
>>
>> Regards,
>>
>> Simon
>>
>> --
>> Simon Goodall
>>
>> Minimax Labs Ltd, a company registered in England and Wales,
>> registration number 07193685, registered office: Office 4, 219
>> Kensington High Street, London  W8 6BD. This message may contain
>> privileged or confidential information. If you are not the intended
>> recipient, please delete it and inform the sender immediately. Any
>> unauthorised use of any of the information contained in this email is
>> strictly prohibited.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>



-- 
Simon Goodall, PhD
Solutions Architect
Minimax Labs Ltd, 31 Southampton Row, London WC1B 5HJ, UK
t/f: +44 (0)20 3356 9771 | m: 07905 266 385
e: simon.goodall@minimaxlabs.com
www.minimaxlabs.com

Minimax Labs Ltd, a company registered in England and Wales,
registration number 07193685, registered office: Office 4, 219
Kensington High Street, London  W8 6BD. This message may contain
privileged or confidential information. If you are not the intended
recipient, please delete it and inform the sender immediately. Any
unauthorised use of any of the information contained in this email is
strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message