Thanks all. bundle working now :)

On Tue, Jan 27, 2009 at 2:15 PM, Peter Kriens <[email protected]>wrote:

> bnd will analyze your classes and create a long list of imported packages.
> This list is matched against your <Import-Package> element. If you use *,
> each import package is imported in your jar. You can modify this by for
> example:
>
>        org.openspotligt.graph.*; resolution:=optional, *
>
> This decorates the org.openspotligt.graph.* packages with optional
> resolution. You can also deny imports or add fixed import that are not
> visible from your code.
>
> Kind regards,
>
>        Peter Kriens
>
>
>
>
> On 27 jan 2009, at 16:53, Martin Thelian wrote:
>
>  This should only be true if you don't specify the Import-Package
>> instruction or just use "*":
>> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
>>
>> Regards,
>> Martin
>>
>> Vinicius Carvalho schrieb:
>>
>>> Really? I tough it would do it for my by inspecting my import statements
>>> on
>>> my classes?
>>>
>>> On Tue, Jan 27, 2009 at 12:01 PM, Martin Thelian <[email protected]
>>> >wrote:
>>>
>>>
>>>  You need to add import statements for "org.osgi.framework" and
>>>> "org.osgi.util.tracker" into the Import-Package tag, e.g.
>>>>
>>>>
>>>>  <Import-Package>
>>>>>  org.openspotlight.graph,
>>>>>  org.osgi.framework,
>>>>>  org.osgi.util.tracker
>>>>> </Import-Package>
>>>>>
>>>>>
>>>>>  Regards,
>>>> Martin
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> 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