You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by cr...@habuma.com on 2009/09/29 15:27:30 UTC
Status of Fragments in Felix?
I'm left a bit unclear on the status of fragment support in Felix. Now
that 2.0.0 is out, can I say that fragments are fully/partially/not
supported?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Status of Fragments in Felix?
Posted by Guo Du <mr...@gmail.com>.
On Tue, Sep 29, 2009 at 3:43 PM, Richard S. Hall <he...@ungoverned.org> wrote:
> Note, this comment is just stating what is a normal part of fragment
> processing, which is you cannot attach fragments to a host if the fragment
> conflicts with the host in some way (e.g., fragment cannot import a
> different version of the same package as the host). But definitely let us
> know if you run into issues.
It dose work. Thanks for clarification on this.
--Guo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Status of Fragments in Felix?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 9/29/09 16:06, Guo Du wrote:
> On Tue, Sep 29, 2009 at 2:53 PM,<cr...@habuma.com> wrote:
>
>> Cool! Thanks for the info. I've historically leaned toward Equinox because
>> of fragments, but secretly wanted to be a Felix fanatic. Now maybe that
>> dream can come true. :-)
>>
>>
>>
>>> Fully supported...sorry that we aren't completely clear here in our
>>> docs/announcements, but we are waiting for the OSGi R4.2 TCK to finalize
>>> for verification, then we can be more precise.
>>>
>>>
>
> Comments from v2.0.0 release of
> org/apache/felix/framework/FelixResolverState.java:197
> // Loop through each fragment verifying it does no conflict,
> // adding its package and bundle dependencies if they do not
> // conflict and removing the fragment if it does conflict.
>
> The fragments may not work if there are conflict. If you experience
> problem to load fragments, you may turn on felix debug options to see
> the details from log message.
>
Note, this comment is just stating what is a normal part of fragment
processing, which is you cannot attach fragments to a host if the
fragment conflicts with the host in some way (e.g., fragment cannot
import a different version of the same package as the host). But
definitely let us know if you run into issues.
-> richard
p.s. Most of the fragment support is not new for 2.0.0, but was
introduced in 1.8.0...there were some bugs fixed in 2.0.0 however.
> Good luck!
>
> -Guo
>
> ---------------------------------------------------------------------
> 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
Re: Status of Fragments in Felix?
Posted by Guo Du <mr...@gmail.com>.
On Tue, Sep 29, 2009 at 2:53 PM, <cr...@habuma.com> wrote:
>
> Cool! Thanks for the info. I've historically leaned toward Equinox because
> of fragments, but secretly wanted to be a Felix fanatic. Now maybe that
> dream can come true. :-)
>
>
>> Fully supported...sorry that we aren't completely clear here in our
>> docs/announcements, but we are waiting for the OSGi R4.2 TCK to finalize
>> for verification, then we can be more precise.
>>
Comments from v2.0.0 release of
org/apache/felix/framework/FelixResolverState.java:197
// Loop through each fragment verifying it does no conflict,
// adding its package and bundle dependencies if they do not
// conflict and removing the fragment if it does conflict.
The fragments may not work if there are conflict. If you experience
problem to load fragments, you may turn on felix debug options to see
the details from log message.
Good luck!
-Guo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Status of Fragments in Felix?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 9/29/09 17:47, Edelson, Justin wrote:
> Richard-
> I think I know the answer to this, but why is the use of fragments
> discouraged? Better yet - is there a wiki page explaining the downsides?
>
Fragments were started with a very specific use case in mind, which was
adding new localizations to a bundle. Unfortunately, their features
ended up going far beyond this use case.
The main issue with fragments is they are not very modular since the
fragments assume they have complete knowledge and access to the host.
So, if you over use fragments you are likely not really creating a very
modular solution.
-> richard
> Justin
>
> -----Original Message-----
> From: Richard S. Hall [mailto:heavy@ungoverned.org]
> Sent: Tuesday, September 29, 2009 10:02 AM
> To: users@felix.apache.org
> Subject: Re: Status of Fragments in Felix?
>
> Great. Of course, we still discourage the use of fragments.
>
>
> ---------------------------------------------------------------------
> 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
RE: Status of Fragments in Felix?
Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
Richard-
I think I know the answer to this, but why is the use of fragments
discouraged? Better yet - is there a wiki page explaining the downsides?
Justin
-----Original Message-----
From: Richard S. Hall [mailto:heavy@ungoverned.org]
Sent: Tuesday, September 29, 2009 10:02 AM
To: users@felix.apache.org
Subject: Re: Status of Fragments in Felix?
Great. Of course, we still discourage the use of fragments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Status of Fragments in Felix?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 9/29/09 15:53, craig@habuma.com wrote:
> Cool! Thanks for the info. I've historically leaned toward Equinox because
> of fragments, but secretly wanted to be a Felix fanatic. Now maybe that
> dream can come true. :-)
>
Great. Of course, we still discourage the use of fragments.
Let us know if you run into any issues. Thanks.
-> richard
>
>
>> Fully supported...sorry that we aren't completely clear here in our
>> docs/announcements, but we are waiting for the OSGi R4.2 TCK to finalize
>> for verification, then we can be more precise.
>>
>> -> richard
>>
>> On 9/29/09 15:27, craig@habuma.com wrote:
>>
>>> I'm left a bit unclear on the status of fragment support in Felix. Now
>>> that 2.0.0 is out, can I say that fragments are fully/partially/not
>>> supported?
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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
Re: Status of Fragments in Felix?
Posted by cr...@habuma.com.
Cool! Thanks for the info. I've historically leaned toward Equinox because
of fragments, but secretly wanted to be a Felix fanatic. Now maybe that
dream can come true. :-)
> Fully supported...sorry that we aren't completely clear here in our
> docs/announcements, but we are waiting for the OSGi R4.2 TCK to finalize
> for verification, then we can be more precise.
>
> -> richard
>
> On 9/29/09 15:27, craig@habuma.com wrote:
>> I'm left a bit unclear on the status of fragment support in Felix. Now
>> that 2.0.0 is out, can I say that fragments are fully/partially/not
>> supported?
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Status of Fragments in Felix?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Fully supported...sorry that we aren't completely clear here in our
docs/announcements, but we are waiting for the OSGi R4.2 TCK to finalize
for verification, then we can be more precise.
-> richard
On 9/29/09 15:27, craig@habuma.com wrote:
> I'm left a bit unclear on the status of fragment support in Felix. Now
> that 2.0.0 is out, can I say that fragments are fully/partially/not
> supported?
>
>
> ---------------------------------------------------------------------
> 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