how to add custom properties to manifest using maven bundle plugin?

View: New views
5 Messages — Rating Filter:   Alert me  

how to add custom properties to manifest using maven bundle plugin?

by Dmitry Skavish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,
I need to add my own properties to the manifest. Is it possible with maven
bundle plugin? Thanks!

--
Dmitry Skavish

Re: how to add custom properties to manifest using maven bundle plugin?

by clement escoffier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Yes it is.
Just add the header as an "instruction". I just think that it has to  
start by a uppercase. So,
<Whatever>your value</Whatever>

should work.

Regards,

Clement

On 01.07.2009, at 17:14, Dmitry Skavish wrote:

> hi,
> I need to add my own properties to the manifest. Is it possible with  
> maven
> bundle plugin? Thanks!
>
> --
> Dmitry Skavish


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


Re: how to add custom properties to manifest using maven bundle plugin?

by Dmitry Skavish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, it works! I was using lowercase properties which apparently just
ignored by bnd!

On Wed, Jul 1, 2009 at 11:18 AM, Clement Escoffier <
clement.escoffier@...> wrote:

> Hi,
>
> Yes it is.
> Just add the header as an "instruction". I just think that it has to start
> by a uppercase. So,
> <Whatever>your value</Whatever>
>
> should work.
>
> Regards,
>
> Clement
>
>
> On 01.07.2009, at 17:14, Dmitry Skavish wrote:
>
>  hi,
>> I need to add my own properties to the manifest. Is it possible with maven
>> bundle plugin? Thanks!
>>
>> --
>> Dmitry Skavish
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


--
Dmitry Skavish

Re: how to add custom properties to manifest using maven bundle plugin?

by Richard S. Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 7/1/09 11:24 AM, Dmitry Skavish wrote:
> Thanks, it works! I was using lowercase properties which apparently just
> ignored by bnd!
>    

Yes, that is mentioned in the documentation.

-> richard

> On Wed, Jul 1, 2009 at 11:18 AM, Clement Escoffier<
> clement.escoffier@...>  wrote:
>
>    
>> Hi,
>>
>> Yes it is.
>> Just add the header as an "instruction". I just think that it has to start
>> by a uppercase. So,
>> <Whatever>your value</Whatever>
>>
>> should work.
>>
>> Regards,
>>
>> Clement
>>
>>
>> On 01.07.2009, at 17:14, Dmitry Skavish wrote:
>>
>>   hi,
>>      
>>> I need to add my own properties to the manifest. Is it possible with maven
>>> bundle plugin? Thanks!
>>>
>>> --
>>> Dmitry Skavish
>>>
>>>        
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>      
>
>
>    

Re: how to add custom properties to manifest using maven bundle plugin?

by Stuart McCulloch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/1 Dmitry Skavish <skavish@...>

> Thanks, it works! I was using lowercase properties which apparently just
> ignored by bnd!
>

from http://aqute.biz/Code/Bnd ...

   "Properties that begin with an upper case are copied to the manifest
(possibly after processing).
    Lower case properties are used for macro variables but are not set as
headers in the manifest."

so this is done on purpose

On Wed, Jul 1, 2009 at 11:18 AM, Clement Escoffier <

> clement.escoffier@...> wrote:
>
> > Hi,
> >
> > Yes it is.
> > Just add the header as an "instruction". I just think that it has to
> start
> > by a uppercase. So,
> > <Whatever>your value</Whatever>
> >
> > should work.
> >
> > Regards,
> >
> > Clement
> >
> >
> > On 01.07.2009, at 17:14, Dmitry Skavish wrote:
> >
> >  hi,
> >> I need to add my own properties to the manifest. Is it possible with
> maven
> >> bundle plugin? Thanks!
> >>
> >> --
> >> Dmitry Skavish
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> > For additional commands, e-mail: users-help@...
> >
> >
>
>
> --
> Dmitry Skavish
>



--
Cheers, Stuart