yes, i've seen that, and was my first implementation for the maven
plugin, but it misses the version information on the imports.
Would that be an acceptable feature for BND?

On 2/6/07, Peter Kriens <[EMAIL PROTECTED]> wrote:
It is ok for bnd to not find the imports, you just do not get any
versions.

The bnd command line has a wrap command that seems to do what you
want.    http://www.aqute.biz/Code/Bnd

Kind regards,

     Peter Kriens

CS> This may be more a BND question, but here it goes

CS> Is there a way to generate a bundle that matches exactly the contents
CS> of a jar (besides the manifest of course)?

CS> For what I've seen so far you need to pass the whole classpath to BND
CS> so it can generate import headers with versions, and EXPORT_PACKAGE to
CS> tell it what packages you want. i'm looking for an easy way to to
CS> express export everything in this jar and nothing else. IIRC that was
CS> the way the osgi maven plugin worked, creating bundles 1 to 1 from
CS> jars.

CS> tia



--
Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

Reply via email to