Hello,
 
thanks Karl for the tip - now it works without warnings:

<Export-Package>
  org.hibernate.*;version=${pkgVersion};-split-package:=merge-last              
                              
</Export-Package>

Thanx again,

Michael



-----Ursprüngliche Nachricht-----
Von: Karl Pauls [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 21. September 2007 13:30
An: [email protected]
Betreff: Re: split-package directive for maven bundle plugin

it needs to be:

-split-package:=merge-last

notice the ":=" v.s. your "=".

Does that change something?

regards,

Karl

On 9/21/07, Hampel, Michael <[EMAIL PROTECTED]> wrote:
> Hello,
>
> thanx for your answers.
> I am using hibernate and hibernate.annotations and therefore have to
> osgify the jar files.
> As both jars use org.hibernate as package root I have 3 packages with
> the same name and therefore I am creating
> one bundle from the two jars.
> Karl's notation is working but then I have to add all 6000:) hibernate
> packages to my Export-Package clause.
> I tried:
>
> <Export-Package>
>     org.hibernate.cfg;version=${pkgVersion};-split-package=merge-last,
>     org.hibernate.type;version=${pkgVersion};-split-package=merge-last,
>
> org.hibernate.mapping;version=${pkgVersion};-split-package=merge-last,
>     org.hibernate.*;version=${pkgVersion}
>
>  </Export-Package>
>
> which - unfortunately:) did not work.
> Also the global approach
>
> <Export-Package>
>         org.hibernate.*;version=${pkgVersion}
> };-split-package=merge-last
>
>  </Export-Package>
>
> is not working.
>
> But again - the packages are merged in the correct way - I only wanted
> to get rid of the warning messages.
>
> Thank you again,
>
> Michael
>
>
>


-- 
Karl Pauls
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to