You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Simon Willnauer <si...@apache.org> on 2006/10/06 09:44:26 UTC
Work with Felix but how?!
Hi there,
I read a lot about felix and OSGi and I actually can not wait to use it. I'm
planing to integrate the OSGi system into another apache project (Lucene
GDataServer) but have no experience with it so far. I was looking for some
"Getting Started" or examples tutorials to get into the framework or how to
integrate all the features OSGi / Felix offers. I got to the documentation
part of the website and tried to read the Felix OSGi Tutorial (
http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to login,
so I registered and logged in but I got no permission to read it. I would
love to read this part of the documentation, can anyone of you tell me how
;).
If any of you have some more documentation / tutorial hints for me I would
really appreciate it.
Are there any OpenSource projects around using Felix so far?
best regards Simon
Re: Work with Felix but how?!
Posted by "Richard S. Hall" <he...@ungoverned.org>.
We probably need to set up subproject documentation sections...
-> richard
Clement Escoffier wrote:
> Hello,
>
> I begin to migrate the iPOJO documentation on the Felix Wiki. I put it
> directly as a child page of the Felix page. Perhaps its place is more
> in the documentation part too.
>
> Feel free to move it, if it is not the good place.
>
> Clement
>
> Marcel Offermans a écrit :
>> Nice work, Clement! I moved the page you created under documentation,
>> so it shows up in the table of contents on that page.
>>
>> On Oct 16, 2006, at 18:55 , Clement Escoffier wrote:
>>
>>> I migrate (endly) the tutorial : Felix Integration inside Eclipse on
>>> the Felix Wiki Page :
>>> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>>>
>>
>>
>
>
Re: Work with Felix but how?!
Posted by Clement Escoffier <cl...@gmail.com>.
Hello,
I begin to migrate the iPOJO documentation on the Felix Wiki. I put it
directly as a child page of the Felix page. Perhaps its place is more in
the documentation part too.
Feel free to move it, if it is not the good place.
Clement
Marcel Offermans a écrit :
> Nice work, Clement! I moved the page you created under documentation,
> so it shows up in the table of contents on that page.
>
> On Oct 16, 2006, at 18:55 , Clement Escoffier wrote:
>
>> I migrate (endly) the tutorial : Felix Integration inside Eclipse on
>> the Felix Wiki Page :
>> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>>
>
>
Re: Work with Felix but how?!
Posted by Marcel Offermans <ma...@luminis.nl>.
Nice work, Clement! I moved the page you created under documentation,
so it shows up in the table of contents on that page.
On Oct 16, 2006, at 18:55 , Clement Escoffier wrote:
> I migrate (endly) the tutorial : Felix Integration inside Eclipse
> on the Felix Wiki Page :
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration
> +inside+Eclipse
Re: Work with Felix but how?!
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Thanks Clement. I see you've got your wiki access now. :-)
-> richard
Clement Escoffier wrote:
> Hello,
>
> I migrate (endly) the tutorial : Felix Integration inside Eclipse on
> the Felix Wiki Page :
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>
>
> Regards,
>
> Clement
>
>
> Francesco Furfari a écrit :
>> Hi all,
>> Clement has written a tutorial about Felix integration inside
>> eclipse, see
>> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>>
>>
>> I think it should be added to the Felix wiki.
>>
>>
>> best,
>> francesco
>>
>>
>>
>> Simon Willnauer wrote:
>>> Cheers guys!!
>>>
>>> I already build the sources thank you!
>>> I will let you know about the integration of felix in GData.
>>>
>>>
>>> best regards Simon
>>>
>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>>
>>>> I would also recommend the following:
>>>>
>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>
>>>> The first tells you the steps necessary for building Felix since it is
>>>> currently only accessible from SVN and the second is a reasonably
>>>> up-to-date usage document.
>>>>
>>>> -> richard
>>>>
>>>> Pierre Parrend wrote:
>>>> > Hello Simon,
>>>> >
>>>> > you can refer to the Oscar project, which is the project where
>>>> Felix
>>>> comes
>>>> > from.
>>>> > you will find a general documentation here :
>>>> > http://oscar.objectweb.org/
>>>> > a 'get started' page here :
>>>> > http://oscar.objectweb.org/usage.html
>>>> > and a tutorial that introduces the main OSGi feature from a
>>>> developper's
>>>> point
>>>> > of view :
>>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>> >
>>>> > on the main page, you will also find a list of project that have
>>>> been
>>>> build on
>>>> > oscar, I assume that some of them have moved to Felix.
>>>> >
>>>> > And, last, the main difference between Oscar and felix is that
>>>> Oscar
>>>> implements
>>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>> OSGi
>>>> > Release 4 features.
>>>> >
>>>> > enjoy !
>>>> >
>>>> > Pierre
>>>> >
>>>> > Quoting Simon Willnauer <si...@apache.org>:
>>>> >
>>>> >
>>>> >> Hi there,
>>>> >>
>>>> >> I read a lot about felix and OSGi and I actually can not wait to
>>>> use
>>>> it. I'm
>>>> >> planing to integrate the OSGi system into another apache project
>>>> (Lucene
>>>> >> GDataServer) but have no experience with it so far. I was
>>>> looking for
>>>> some
>>>> >> "Getting Started" or examples tutorials to get into the
>>>> framework or
>>>> how to
>>>> >> integrate all the features OSGi / Felix offers. I got to the
>>>> documentation
>>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I
>>>> had to
>>>> login,
>>>> >> so I registered and logged in but I got no permission to read it. I
>>>> would
>>>> >> love to read this part of the documentation, can anyone of you
>>>> tell me
>>>> how
>>>> >> ;).
>>>> >> If any of you have some more documentation / tutorial hints for
>>>> me I
>>>> would
>>>> >> really appreciate it.
>>>> >>
>>>> >> Are there any OpenSource projects around using Felix so far?
>>>> >>
>>>> >> best regards Simon
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>
>
>
RE: Felix and Eclipse PDE
Posted by "Jan S. Rellermeyer" <re...@inf.ethz.ch>.
I am currently working on an Eclipse integration of my Concierge framework.
It is not really a trivial task since Equinox is custom-tailored to Eclipse
and in many sense goes further than the OSGi standard. Simple issues make
the it quite cumbersome to let a "standard" framework appear like Equinox.
For instance, in Equinox, a bundle is not necessarily a Jar file but can as
well be a directory (and this is crucial for launching plugin projects).
Another issue is that with the -D<whatever>.start.level command line
semantics, you never know how many start levels you have to expect and in an
Eclipse launch configuration, the start levels are not necessarily
continuous. These two things can be more or less elegantly fixed but I
expect more of these issues to arise.
Since I assume that similar problems might also appear with Felix, we can
maybe exchange some experience.
Cheers,
Jan.
-----------------------------------------------------------
ETH Zurich, MSc Jan S. Rellermeyer,
Information and Communication Systems Research Group (IKS),
Department of Computer Science, IFW B 47.1,
Haldeneggsteig 4, CH8092 Zürich
Tel +41 44 632 30 38, http://www.iks.inf.ethz.ch
-----------------------------------------------------------
> -----Original Message-----
> From: Richard S. Hall [mailto:heavy@ungoverned.org]
> Sent: Tuesday, October 17, 2006 7:35 PM
> To: felix-dev@incubator.apache.org
> Subject: Re: Felix and Eclipse PDE
>
> If you need any help on the Felix side of things let me know.
>
> -> richard
>
> Felix Cuadrado wrote:
> > I am working on adding a contribution to the extension point for
> > Apache Felix, and should get some results for it soon, as
> well as some
> > feedback for the extension point itself.
> >
> > //Félix Cuadrado
> >
> > On Tuesday 17 October 2006 18:03, Chris Aniszczyk wrote:
> >
> >> On a side note, the PDE team from Eclipse would like
> everyone to know
> >> that as of Eclipse 3.3M2
> >> (http://download.eclipse.org/eclipse/downloads/drops/S-3.3
> >> M2-200609220010/eclipse-news-M2.html) PDE supports pluggable OSGi
> >> frameworks (see the release notes). This allows other OSGi
> frameworks
> >> to be launched like Equinox is (also it allows for
> reusability of the
> >> launch configuration UIs and other things).
> >>
> >> There is an OSGi framework extension point
> >>
> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/o
> >> sgiFra
> >> meworks.exsd) that interested OSGi frameworks can extend.
> >>
> >> Currently only Equinox is supported
> >>
> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/
> >> eclips
> >> e/pde/ui/launcher/EquinoxLaunchConfiguration.java) but we would
> >> appreciate feedback from the Felix community if someone
> would like to
> >> create a Felix extension. We want to make sure this API is
> stable for
> >> Eclipse 3.3 and would love if the Felix community could
> help the evolution of this API.
> >>
> >> If you have any questions using this API, please feel free
> to email
> >> the pde-ui-dev@eclipse.org mailing list.
> >>
> >> Cheers,
> >>
> >> Chris Aniszczyk
> >> Eclipse Committer
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Clement Escoffier <cl...@gmail.com>
> >>
> >>
> >> To:
> >> felix-dev@incubator.apache.org
> >>
> >>
> >>
> >>
> >> cc:
> >>
> >>
> >>
> >>
> >>
> >> Subject:
> >> Re: Work with Felix but how?!
> >>
> >>
> >>
> >>
> >> From:
> >> Clement Escoffier
> <cl...@gmail.com> - Monday,
> >> October 16, 2006, 12:50 PM
> >>
> >>
> >> Please respond to felix-dev@incubator.apache.org
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hello,
> >>
> >> I migrate (endly) the tutorial : Felix Integration inside
> Eclipse on
> >> the Felix Wiki Page :
> >>
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+in
> >> side+E
> >> clipse
> >>
> >>
> >> Regards,
> >>
> >> Clement
> >>
> >> Francesco Furfari a écrit :
> >>
> >>> Hi all,
> >>> Clement has written a tutorial about Felix integration inside
> >>> eclipse, see
> >>>
> >>
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=
> >> 23&Ite
> >> mid=37
> >>
> >>
> >>> I think it should be added to the Felix wiki.
> >>>
> >>>
> >>> best,
> >>> francesco
> >>>
> >>> Simon Willnauer wrote:
> >>>
> >>>> Cheers guys!!
> >>>>
> >>>> I already build the sources thank you!
> >>>> I will let you know about the integration of felix in GData.
> >>>>
> >>>>
> >>>> best regards Simon
> >>>>
> >>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
> >>>>
> >>>>> I would also recommend the following:
> >>>>>
> >>>>> * http://cwiki.apache.org/FELIX/building-felix.html
> >>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
> >>>>>
> >>>>> The first tells you the steps necessary for building
> Felix since
> >>>>> it is currently only accessible from SVN and the second is a
> >>>>> reasonably up-to-date usage document.
> >>>>>
> >>>>> -> richard
> >>>>>
> >>>>> Pierre Parrend wrote:
> >>>>>
> >>>>>> Hello Simon,
> >>>>>>
> >>>>>> you can refer to the Oscar project, which is the
> project where
> >>>>>> Felix
> >>>>>>
> >>>>> comes
> >>>>>
> >>>>>
> >>>>>> from.
> >>>>>> you will find a general documentation here :
> >>>>>> http://oscar.objectweb.org/
> >>>>>> a 'get started' page here :
> >>>>>> http://oscar.objectweb.org/usage.html
> >>>>>> and a tutorial that introduces the main OSGi feature from a
> >>>>>>
> >>>>> developper's
> >>>>> point
> >>>>>
> >>>>>
> >>>>>> of view :
> >>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
> >>>>>>
> >>>>>> on the main page, you will also find a list of project
> that have
> >>>>>> been
> >>>>>>
> >>>>> build on
> >>>>>
> >>>>>
> >>>>>> oscar, I assume that some of them have moved to Felix.
> >>>>>>
> >>>>>> And, last, the main difference between Oscar and
> felix is that
> >>>>>> Oscar
> >>>>>>
> >>>>> implements
> >>>>>
> >>>>>
> >>>>>> OSGi Release 3, and Felix is almost ready to implement all
> >>>>>> mandatory
> >>>>>>
> >>>>> OSGi
> >>>>>
> >>>>>
> >>>>>> Release 4 features.
> >>>>>>
> >>>>>> enjoy !
> >>>>>>
> >>>>>> Pierre
> >>>>>>
> >>>>>> Quoting Simon Willnauer <si...@apache.org>:
> >>>>>>
> >>>>>>> Hi there,
> >>>>>>>
> >>>>>>> I read a lot about felix and OSGi and I actually can
> not wait to
> >>>>>>> use
> >>>>>>>
> >>>>> it. I'm
> >>>>>
> >>>>>
> >>>>>>> planing to integrate the OSGi system into another
> apache project
> >>>>>>>
> >>>>> (Lucene
> >>>>>
> >>>>>
> >>>>>>> GDataServer) but have no experience with it so far. I was
> >>>>>>> looking
> >>>>>>>
> >>>>> for
> >>>>> some
> >>>>>
> >>>>>
> >>>>>>> "Getting Started" or examples tutorials to get into the
> >>>>>>> framework or
> >>>>>>>
> >>>>> how to
> >>>>>
> >>>>>
> >>>>>>> integrate all the features OSGi / Felix offers. I got to the
> >>>>>>>
> >>>>> documentation
> >>>>>
> >>>>>
> >>>>>>> part of the website and tried to read the Felix OSGi
> Tutorial (
> >>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I
> >>>>>>> had to
> >>>>>>>
> >>>>> login,
> >>>>>
> >>>>>
> >>>>>>> so I registered and logged in but I got no permission to read
> >>>>>>> it. I
> >>>>>>>
> >>>>> would
> >>>>>
> >>>>>
> >>>>>>> love to read this part of the documentation, can anyone of you
> >>>>>>>
> >>>>> tell me
> >>>>> how
> >>>>>
> >>>>>
> >>>>>>> ;).
> >>>>>>> If any of you have some more documentation / tutorial
> hints for
> >>>>>>> me I
> >>>>>>>
> >>>>> would
> >>>>>
> >>>>>
> >>>>>>> really appreciate it.
> >>>>>>>
> >>>>>>> Are there any OpenSource projects around using Felix so far?
> >>>>>>>
> >>>>>>> best regards Simon
> >>>>>>>
>
Re: Felix and Eclipse PDE
Posted by "Richard S. Hall" <he...@ungoverned.org>.
If you need any help on the Felix side of things let me know.
-> richard
Felix Cuadrado wrote:
> I am working on adding a contribution to the extension point for Apache Felix,
> and should get some results for it soon, as well as some feedback for the
> extension point itself.
>
> //Félix Cuadrado
>
> On Tuesday 17 October 2006 18:03, Chris Aniszczyk wrote:
>
>> On a side note, the PDE team from Eclipse would like everyone to know that
>> as of Eclipse 3.3M2
>> (http://download.eclipse.org/eclipse/downloads/drops/S-3.3
>> M2-200609220010/eclipse-news-M2.html) PDE supports pluggable OSGi
>> frameworks (see the release notes). This allows other OSGi frameworks to be
>> launched like Equinox is (also it allows for reusability of the launch
>> configuration UIs and other things).
>>
>> There is an OSGi framework extension point
>> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFra
>> meworks.exsd) that interested OSGi frameworks can extend.
>>
>> Currently only Equinox is supported
>> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclips
>> e/pde/ui/launcher/EquinoxLaunchConfiguration.java) but we would appreciate
>> feedback from the Felix community if someone would like to create a Felix
>> extension. We want to make sure this API is stable for Eclipse 3.3 and
>> would love if the Felix community could help the evolution of this API.
>>
>> If you have any questions using this API, please feel free to email the
>> pde-ui-dev@eclipse.org mailing list.
>>
>> Cheers,
>>
>> Chris Aniszczyk
>> Eclipse Committer
>>
>>
>>
>>
>>
>>
>>
>> Clement Escoffier <cl...@gmail.com>
>>
>>
>> To:
>> felix-dev@incubator.apache.org
>>
>>
>>
>>
>> cc:
>>
>>
>>
>>
>>
>> Subject:
>> Re: Work with Felix but how?!
>>
>>
>>
>>
>> From:
>> Clement Escoffier <cl...@gmail.com> - Monday,
>> October 16, 2006, 12:50 PM
>>
>>
>> Please respond to felix-dev@incubator.apache.org
>>
>>
>>
>>
>>
>>
>>
>>
>> Hello,
>>
>> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
>> Felix Wiki Page :
>> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+E
>> clipse
>>
>>
>> Regards,
>>
>> Clement
>>
>> Francesco Furfari a écrit :
>>
>>> Hi all,
>>> Clement has written a tutorial about Felix integration inside eclipse,
>>> see
>>>
>> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Ite
>> mid=37
>>
>>
>>> I think it should be added to the Felix wiki.
>>>
>>>
>>> best,
>>> francesco
>>>
>>> Simon Willnauer wrote:
>>>
>>>> Cheers guys!!
>>>>
>>>> I already build the sources thank you!
>>>> I will let you know about the integration of felix in GData.
>>>>
>>>>
>>>> best regards Simon
>>>>
>>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>>
>>>>> I would also recommend the following:
>>>>>
>>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>>
>>>>> The first tells you the steps necessary for building Felix since it is
>>>>> currently only accessible from SVN and the second is a reasonably
>>>>> up-to-date usage document.
>>>>>
>>>>> -> richard
>>>>>
>>>>> Pierre Parrend wrote:
>>>>>
>>>>>> Hello Simon,
>>>>>>
>>>>>> you can refer to the Oscar project, which is the project where Felix
>>>>>>
>>>>> comes
>>>>>
>>>>>
>>>>>> from.
>>>>>> you will find a general documentation here :
>>>>>> http://oscar.objectweb.org/
>>>>>> a 'get started' page here :
>>>>>> http://oscar.objectweb.org/usage.html
>>>>>> and a tutorial that introduces the main OSGi feature from a
>>>>>>
>>>>> developper's
>>>>> point
>>>>>
>>>>>
>>>>>> of view :
>>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>>>>
>>>>>> on the main page, you will also find a list of project that have been
>>>>>>
>>>>> build on
>>>>>
>>>>>
>>>>>> oscar, I assume that some of them have moved to Felix.
>>>>>>
>>>>>> And, last, the main difference between Oscar and felix is that Oscar
>>>>>>
>>>>> implements
>>>>>
>>>>>
>>>>>> OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>>>>
>>>>> OSGi
>>>>>
>>>>>
>>>>>> Release 4 features.
>>>>>>
>>>>>> enjoy !
>>>>>>
>>>>>> Pierre
>>>>>>
>>>>>> Quoting Simon Willnauer <si...@apache.org>:
>>>>>>
>>>>>>> Hi there,
>>>>>>>
>>>>>>> I read a lot about felix and OSGi and I actually can not wait to use
>>>>>>>
>>>>> it. I'm
>>>>>
>>>>>
>>>>>>> planing to integrate the OSGi system into another apache project
>>>>>>>
>>>>> (Lucene
>>>>>
>>>>>
>>>>>>> GDataServer) but have no experience with it so far. I was looking
>>>>>>>
>>>>> for
>>>>> some
>>>>>
>>>>>
>>>>>>> "Getting Started" or examples tutorials to get into the framework or
>>>>>>>
>>>>> how to
>>>>>
>>>>>
>>>>>>> integrate all the features OSGi / Felix offers. I got to the
>>>>>>>
>>>>> documentation
>>>>>
>>>>>
>>>>>>> part of the website and tried to read the Felix OSGi Tutorial (
>>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
>>>>>>>
>>>>> login,
>>>>>
>>>>>
>>>>>>> so I registered and logged in but I got no permission to read it. I
>>>>>>>
>>>>> would
>>>>>
>>>>>
>>>>>>> love to read this part of the documentation, can anyone of you
>>>>>>>
>>>>> tell me
>>>>> how
>>>>>
>>>>>
>>>>>>> ;).
>>>>>>> If any of you have some more documentation / tutorial hints for me I
>>>>>>>
>>>>> would
>>>>>
>>>>>
>>>>>>> really appreciate it.
>>>>>>>
>>>>>>> Are there any OpenSource projects around using Felix so far?
>>>>>>>
>>>>>>> best regards Simon
>>>>>>>
Re: Felix and Eclipse PDE
Posted by Felix Cuadrado <fc...@dit.upm.es>.
I am working on adding a contribution to the extension point for Apache Felix,
and should get some results for it soon, as well as some feedback for the
extension point itself.
//Félix Cuadrado
On Tuesday 17 October 2006 18:03, Chris Aniszczyk wrote:
> On a side note, the PDE team from Eclipse would like everyone to know that
> as of Eclipse 3.3M2
> (http://download.eclipse.org/eclipse/downloads/drops/S-3.3
> M2-200609220010/eclipse-news-M2.html) PDE supports pluggable OSGi
> frameworks (see the release notes). This allows other OSGi frameworks to be
> launched like Equinox is (also it allows for reusability of the launch
> configuration UIs and other things).
>
> There is an OSGi framework extension point
> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFra
>meworks.exsd) that interested OSGi frameworks can extend.
>
> Currently only Equinox is supported
> (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclips
>e/pde/ui/launcher/EquinoxLaunchConfiguration.java) but we would appreciate
> feedback from the Felix community if someone would like to create a Felix
> extension. We want to make sure this API is stable for Eclipse 3.3 and
> would love if the Felix community could help the evolution of this API.
>
> If you have any questions using this API, please feel free to email the
> pde-ui-dev@eclipse.org mailing list.
>
> Cheers,
>
> Chris Aniszczyk
> Eclipse Committer
>
>
>
>
>
>
>
> Clement Escoffier <cl...@gmail.com>
>
>
> To:
> felix-dev@incubator.apache.org
>
>
>
>
> cc:
>
>
>
>
>
> Subject:
> Re: Work with Felix but how?!
>
>
>
>
> From:
> Clement Escoffier <cl...@gmail.com> - Monday,
> October 16, 2006, 12:50 PM
>
>
> Please respond to felix-dev@incubator.apache.org
>
>
>
>
>
>
>
>
> Hello,
>
> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
> Felix Wiki Page :
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+E
>clipse
>
>
> Regards,
>
> Clement
>
> Francesco Furfari a écrit :
> > Hi all,
> > Clement has written a tutorial about Felix integration inside eclipse,
> > see
>
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Ite
>mid=37
>
> > I think it should be added to the Felix wiki.
> >
> >
> > best,
> > francesco
> >
> > Simon Willnauer wrote:
> >> Cheers guys!!
> >>
> >> I already build the sources thank you!
> >> I will let you know about the integration of felix in GData.
> >>
> >>
> >> best regards Simon
> >>
> >> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
> >>> I would also recommend the following:
> >>>
> >>> * http://cwiki.apache.org/FELIX/building-felix.html
> >>> * http://cwiki.apache.org/FELIX/felix-usage.html
> >>>
> >>> The first tells you the steps necessary for building Felix since it is
> >>> currently only accessible from SVN and the second is a reasonably
> >>> up-to-date usage document.
> >>>
> >>> -> richard
> >>>
> >>> Pierre Parrend wrote:
> >>> > Hello Simon,
> >>> >
> >>> > you can refer to the Oscar project, which is the project where Felix
> >>>
> >>> comes
> >>>
> >>> > from.
> >>> > you will find a general documentation here :
> >>> > http://oscar.objectweb.org/
> >>> > a 'get started' page here :
> >>> > http://oscar.objectweb.org/usage.html
> >>> > and a tutorial that introduces the main OSGi feature from a
> >>>
> >>> developper's
> >>> point
> >>>
> >>> > of view :
> >>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
> >>> >
> >>> > on the main page, you will also find a list of project that have been
> >>>
> >>> build on
> >>>
> >>> > oscar, I assume that some of them have moved to Felix.
> >>> >
> >>> > And, last, the main difference between Oscar and felix is that Oscar
> >>>
> >>> implements
> >>>
> >>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
> >>>
> >>> OSGi
> >>>
> >>> > Release 4 features.
> >>> >
> >>> > enjoy !
> >>> >
> >>> > Pierre
> >>> >
> >>> > Quoting Simon Willnauer <si...@apache.org>:
> >>> >> Hi there,
> >>> >>
> >>> >> I read a lot about felix and OSGi and I actually can not wait to use
> >>>
> >>> it. I'm
> >>>
> >>> >> planing to integrate the OSGi system into another apache project
> >>>
> >>> (Lucene
> >>>
> >>> >> GDataServer) but have no experience with it so far. I was looking
> >>>
> >>> for
> >>> some
> >>>
> >>> >> "Getting Started" or examples tutorials to get into the framework or
> >>>
> >>> how to
> >>>
> >>> >> integrate all the features OSGi / Felix offers. I got to the
> >>>
> >>> documentation
> >>>
> >>> >> part of the website and tried to read the Felix OSGi Tutorial (
> >>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
> >>>
> >>> login,
> >>>
> >>> >> so I registered and logged in but I got no permission to read it. I
> >>>
> >>> would
> >>>
> >>> >> love to read this part of the documentation, can anyone of you
> >>>
> >>> tell me
> >>> how
> >>>
> >>> >> ;).
> >>> >> If any of you have some more documentation / tutorial hints for me I
> >>>
> >>> would
> >>>
> >>> >> really appreciate it.
> >>> >>
> >>> >> Are there any OpenSource projects around using Felix so far?
> >>> >>
> >>> >> best regards Simon
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Yes, I can zip it up and send it to you shortly. Thanks again.
-- rick
-----Original Message-----
From: Richard S. Hall [mailto:heavy@ungoverned.org]
Sent: Monday, December 04, 2006 11:24 AM
To: felix-dev@incubator.apache.org
Subject: Re: Felix and Eclipse PDE
Rick Litton wrote:
> Hi Richard,
>
> I did an 'svn update' and showed that my working copy is checked out up to revision 482287. Also did an 'mvn clean install' on both new and old poms. However, the old pom.xml failed after it tried to test out one of the examples. But I had previously built the bundles (javax.servlet and http.jetty) needed for the test so this did not worry me. Unfortunately, I'm still getting the same errors.
>
If you can boil down an example and send it to me with the steps to
reproduce, I can try to find the time to take a look at it.
-> richard
> -- rick
>
> -----Original Message-----
> From: Richard S. Hall [mailto:heavy@ungoverned.org]
> Sent: Monday, December 04, 2006 6:58 AM
> To: felix-dev@incubator.apache.org
> Subject: Re: Felix and Eclipse PDE
>
> Just as a quick suggestion, make sure that you are completely up-to-date
> with the repo, because there was a bug in the maven bundle plugin that
> caused too much stuff to be copied into the framework JAR file and this
> was resulting in loader constraint errors.
>
> -> richard
>
> Rick Litton wrote:
>
>> Hi Jeff,
>>
>> I was able to set up the Eclipse/Equinox bundles in Felix but unfortunately got the following errors:
>>
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.urlconversion -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 10.0
>> DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0
>> DEBUG: WIRE: 6.0 -> org.osgi.service.url -> 0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.localization -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.framework.log -> 10.0
>> DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 10.0
>> ERROR: Error starting file:bundle/org.eclipse.equinox.common_3.2.0.v20060603.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader constraints
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:149)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:51)
>> at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:121)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:358)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:136)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:70)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162)
>> at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator.java:104)
>> at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(PlatformURLConnection.java:70)
>> at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport(Activator.java:330)
>> at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79)
>> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.storagemanager -> 10.0
>> DEBUG: WIRE: 7.0 -> org.xml.sax -> 0
>> DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.resolver -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.environment -> 10.0
>> DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
>> DEBUG: WIRE: 7.0 -> org.xml.sax.helpers -> 0
>> DEBUG: WIRE: 7.0 -> javax.xml.parsers -> 0
>> DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 10.0
>> ERROR: Error starting file:bundle/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
>> at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:52)
>> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>> DEBUG: WIRE: 8.0 -> javax.servlet.http -> 4.0
>> DEBUG: WIRE: 8.0 -> javax.servlet -> 4.0
>> DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
>> Hello World!!
>> ERROR: Error starting file:bundle/org.eclipse.osgi_3.2.1.R32x_v20060919.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator
>> at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:2750)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1255)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> I suspect that there are dups that caused the conflict between the osgi libraries hence the classloading problem. Unfortunately, I can't provide you with more information as it's close to midnight. I'll go over it again tomorrow.
>>
>> Regards,
>>
>> Rick
>>
>>
>>
>> -----Original Message-----
>> From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
>> Sent: Tue 11/28/2006 8:16 PM
>> To: felix-dev@incubator.apache.org
>> Subject: RE: Felix and Eclipse PDE
>>
>> The Eclipse extension mechanism is an addon service/mechanism analogous to
>> declarative services. That is, you should be able to take the
>> org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
>> it on other frameworks. In the case of the registry I suspect you would
>> need the o.e.equinox.common and o.e.equinox.supplement bundles. The
>> latter supplies implementations of various services that are included in
>> the Equinox system bundle as part of its implementation strategy. We are
>> just redoing how we manage the supplement bundle so a new one will appear
>> in builds soon (or already has). I know that people have run the registry
>> on Knopflerfish. Perhaps you would be interested in trying it out on
>> Felix and reporting back to the Equinox team?
>>
>> Jeff
>>
>>
>>
>>
>> "Rick Litton" <Ri...@ktd-kyocera.com>
>> 11/28/2006 03:13 PM
>> Please respond to
>> felix-dev@incubator.apache.org
>>
>>
>> To
>> <fe...@incubator.apache.org>
>> cc
>>
>> Subject
>> RE: Felix and Eclipse PDE
>>
>>
>>
>>
>>
>>
>> Hi all,
>>
>>
>>
>> The area of extension points is quite important for my organization. I
>> was wondering if anyone can provide an update on this issue. Is anyone
>> from the Felix community working to make Eclipse and Felix interoperable?
>> Is there some sort of timeline to implement extension points in Felix? If
>> not, why not? Thanks!
>>
>>
>>
>> Rick Litton
>>
>> ________________________________
>>
>> From: Chris Aniszczyk [mailto:zx@us.ibm.com]
>> Sent: Tuesday, October 17, 2006 9:03 AM
>> To: felix-dev@incubator.apache.org
>> Cc: pde-ui-dev@eclipse.org
>> Subject: Felix and Eclipse PDE
>>
>>
>>
>> On a side note, the PDE team from Eclipse would like everyone to know that
>> as of Eclipse 3.3M2 (
>> http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
>> ) PDE supports pluggable OSGi frameworks (see the release notes). This
>> allows other OSGi frameworks to be launched like Equinox is (also it
>> allows for reusability of the launch configuration UIs and other things).
>>
>> There is an OSGi framework extension point (
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
>> ) that interested OSGi frameworks can extend.
>>
>> Currently only Equinox is supported (
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
>> ) but we would appreciate feedback from the Felix community if someone
>> would like to create a Felix extension. We want to make sure this API is
>> stable for Eclipse 3.3 and would love if the Felix community could help
>> the evolution of this API.
>>
>> If you have any questions using this API, please feel free to email the
>> pde-ui-dev@eclipse.org mailing list.
>>
>> Cheers,
>>
>> Chris Aniszczyk
>> Eclipse Committer
>>
>> Inactive hide details for Clement Escoffier
>> <cl...@gmail.com>Clement Escoffier
>> <cl...@gmail.com>
>>
>>
>>
>>
>>
>>
>>
>> Clement Escoffier <cl...@gmail.com>
>>
>>
>>
>>
>> To:
>>
>>
>> felix-dev@incubator.apache.org
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> cc:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Subject:
>>
>>
>> Re: Work with Felix but how?!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> From:
>>
>>
>> Clement Escoffier <cl...@gmail.com> - Monday, October 16,
>> 2006, 12:50 PM
>>
>>
>>
>>
>> Please respond to felix-dev@incubator.apache.org
>>
>>
>>
>>
>> Hello,
>>
>> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
>> Felix Wiki Page :
>> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>>
>>
>> Regards,
>>
>> Clement
>>
>>
>> Francesco Furfari a écrit :
>>
>>
>>> Hi all,
>>> Clement has written a tutorial about Felix integration inside eclipse,
>>> see
>>>
>>>
>>>
>> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>>
>>
>>
>>> I think it should be added to the Felix wiki.
>>>
>>>
>>> best,
>>> francesco
>>>
>>>
>>>
>>> Simon Willnauer wrote:
>>>
>>>
>>>> Cheers guys!!
>>>>
>>>> I already build the sources thank you!
>>>> I will let you know about the integration of felix in GData.
>>>>
>>>>
>>>> best regards Simon
>>>>
>>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>>
>>>>
>>>>> I would also recommend the following:
>>>>>
>>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>>
>>>>> The first tells you the steps necessary for building Felix since it is
>>>>> currently only accessible from SVN and the second is a reasonably
>>>>> up-to-date usage document.
>>>>>
>>>>> -> richard
>>>>>
>>>>> Pierre Parrend wrote:
>>>>>
>>>>>
>>>>>> Hello Simon,
>>>>>>
>>>>>> you can refer to the Oscar project, which is the project where
>>>>>>
>>>>>>
>> Felix
>>
>>
>>>>> comes
>>>>>
>>>>>
>>>>>> from.
>>>>>> you will find a general documentation here :
>>>>>> http://oscar.objectweb.org/
>>>>>> a 'get started' page here :
>>>>>> http://oscar.objectweb.org/usage.html
>>>>>> and a tutorial that introduces the main OSGi feature from a
>>>>>>
>>>>>>
>>>>> developper's
>>>>> point
>>>>>
>>>>>
>>>>>> of view :
>>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>>>>
>>>>>> on the main page, you will also find a list of project that have
>>>>>>
>>>>>>
>> been
>>
>>
>>>>> build on
>>>>>
>>>>>
>>>>>> oscar, I assume that some of them have moved to Felix.
>>>>>>
>>>>>> And, last, the main difference between Oscar and felix is that
>>>>>>
>>>>>>
>> Oscar
>>
>>
>>>>> implements
>>>>>
>>>>>
>>>>>> OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>>>>
>>>>>>
>>>>> OSGi
>>>>>
>>>>>
>>>>>> Release 4 features.
>>>>>>
>>>>>> enjoy !
>>>>>>
>>>>>> Pierre
>>>>>>
>>>>>> Quoting Simon Willnauer <si...@apache.org>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi there,
>>>>>>>
>>>>>>> I read a lot about felix and OSGi and I actually can not wait to
>>>>>>>
>>>>>>>
>> use
>>
>>
>>>>> it. I'm
>>>>>
>>>>>
>>>>>>> planing to integrate the OSGi system into another apache project
>>>>>>>
>>>>>>>
>>>>> (Lucene
>>>>>
>>>>>
>>>>>>> GDataServer) but have no experience with it so far. I was looking
>>>>>>>
>>>>>>>
>>>>> for
>>>>> some
>>>>>
>>>>>
>>>>>>> "Getting Started" or examples tutorials to get into the framework
>>>>>>>
>>>>>>>
>> or
>>
>>
>>>>> how to
>>>>>
>>>>>
>>>>>>> integrate all the features OSGi / Felix offers. I got to the
>>>>>>>
>>>>>>>
>>>>> documentation
>>>>>
>>>>>
>>>>>>> part of the website and tried to read the Felix OSGi Tutorial (
>>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
>>>>>>>
>>>>>>>
>> to
>>
>>
>>>>> login,
>>>>>
>>>>>
>>>>>>> so I registered and logged in but I got no permission to read it. I
>>>>>>>
>>>>>>>
>>>>> would
>>>>>
>>>>>
>>>>>>> love to read this part of the documentation, can anyone of you
>>>>>>>
>>>>>>>
>>>>> tell me
>>>>> how
>>>>>
>>>>>
>>>>>>> ;).
>>>>>>> If any of you have some more documentation / tutorial hints for me
>>>>>>>
>>>>>>>
>> I
>>
>>
>>>>> would
>>>>>
>>>>>
>>>>>>> really appreciate it.
>>>>>>>
>>>>>>> Are there any OpenSource projects around using Felix so far?
>>>>>>>
>>>>>>> best regards Simon
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>
>>
>>
Re: Felix and Eclipse PDE
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Rick Litton wrote:
> Hi Richard,
>
> I did an 'svn update' and showed that my working copy is checked out up to revision 482287. Also did an 'mvn clean install' on both new and old poms. However, the old pom.xml failed after it tried to test out one of the examples. But I had previously built the bundles (javax.servlet and http.jetty) needed for the test so this did not worry me. Unfortunately, I'm still getting the same errors.
>
If you can boil down an example and send it to me with the steps to
reproduce, I can try to find the time to take a look at it.
-> richard
> -- rick
>
> -----Original Message-----
> From: Richard S. Hall [mailto:heavy@ungoverned.org]
> Sent: Monday, December 04, 2006 6:58 AM
> To: felix-dev@incubator.apache.org
> Subject: Re: Felix and Eclipse PDE
>
> Just as a quick suggestion, make sure that you are completely up-to-date
> with the repo, because there was a bug in the maven bundle plugin that
> caused too much stuff to be copied into the framework JAR file and this
> was resulting in loader constraint errors.
>
> -> richard
>
> Rick Litton wrote:
>
>> Hi Jeff,
>>
>> I was able to set up the Eclipse/Equinox bundles in Felix but unfortunately got the following errors:
>>
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.urlconversion -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 10.0
>> DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0
>> DEBUG: WIRE: 6.0 -> org.osgi.service.url -> 0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.localization -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.framework.log -> 10.0
>> DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 10.0
>> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 10.0
>> ERROR: Error starting file:bundle/org.eclipse.equinox.common_3.2.0.v20060603.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader constraints
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:149)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:51)
>> at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:121)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:358)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:136)
>> at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
>> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:70)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162)
>> at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator.java:104)
>> at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(PlatformURLConnection.java:70)
>> at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport(Activator.java:330)
>> at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79)
>> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.storagemanager -> 10.0
>> DEBUG: WIRE: 7.0 -> org.xml.sax -> 0
>> DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.resolver -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 10.0
>> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.environment -> 10.0
>> DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
>> DEBUG: WIRE: 7.0 -> org.xml.sax.helpers -> 0
>> DEBUG: WIRE: 7.0 -> javax.xml.parsers -> 0
>> DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 10.0
>> ERROR: Error starting file:bundle/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
>> at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:52)
>> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>> DEBUG: WIRE: 8.0 -> javax.servlet.http -> 4.0
>> DEBUG: WIRE: 8.0 -> javax.servlet -> 4.0
>> DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
>> Hello World!!
>> ERROR: Error starting file:bundle/org.eclipse.osgi_3.2.1.R32x_v20060919.jar (org.osgi.framework.BundleException: Activator start error.)
>> java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator
>> at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:2750)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1255)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> I suspect that there are dups that caused the conflict between the osgi libraries hence the classloading problem. Unfortunately, I can't provide you with more information as it's close to midnight. I'll go over it again tomorrow.
>>
>> Regards,
>>
>> Rick
>>
>>
>>
>> -----Original Message-----
>> From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
>> Sent: Tue 11/28/2006 8:16 PM
>> To: felix-dev@incubator.apache.org
>> Subject: RE: Felix and Eclipse PDE
>>
>> The Eclipse extension mechanism is an addon service/mechanism analogous to
>> declarative services. That is, you should be able to take the
>> org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
>> it on other frameworks. In the case of the registry I suspect you would
>> need the o.e.equinox.common and o.e.equinox.supplement bundles. The
>> latter supplies implementations of various services that are included in
>> the Equinox system bundle as part of its implementation strategy. We are
>> just redoing how we manage the supplement bundle so a new one will appear
>> in builds soon (or already has). I know that people have run the registry
>> on Knopflerfish. Perhaps you would be interested in trying it out on
>> Felix and reporting back to the Equinox team?
>>
>> Jeff
>>
>>
>>
>>
>> "Rick Litton" <Ri...@ktd-kyocera.com>
>> 11/28/2006 03:13 PM
>> Please respond to
>> felix-dev@incubator.apache.org
>>
>>
>> To
>> <fe...@incubator.apache.org>
>> cc
>>
>> Subject
>> RE: Felix and Eclipse PDE
>>
>>
>>
>>
>>
>>
>> Hi all,
>>
>>
>>
>> The area of extension points is quite important for my organization. I
>> was wondering if anyone can provide an update on this issue. Is anyone
>> from the Felix community working to make Eclipse and Felix interoperable?
>> Is there some sort of timeline to implement extension points in Felix? If
>> not, why not? Thanks!
>>
>>
>>
>> Rick Litton
>>
>> ________________________________
>>
>> From: Chris Aniszczyk [mailto:zx@us.ibm.com]
>> Sent: Tuesday, October 17, 2006 9:03 AM
>> To: felix-dev@incubator.apache.org
>> Cc: pde-ui-dev@eclipse.org
>> Subject: Felix and Eclipse PDE
>>
>>
>>
>> On a side note, the PDE team from Eclipse would like everyone to know that
>> as of Eclipse 3.3M2 (
>> http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
>> ) PDE supports pluggable OSGi frameworks (see the release notes). This
>> allows other OSGi frameworks to be launched like Equinox is (also it
>> allows for reusability of the launch configuration UIs and other things).
>>
>> There is an OSGi framework extension point (
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
>> ) that interested OSGi frameworks can extend.
>>
>> Currently only Equinox is supported (
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
>> ) but we would appreciate feedback from the Felix community if someone
>> would like to create a Felix extension. We want to make sure this API is
>> stable for Eclipse 3.3 and would love if the Felix community could help
>> the evolution of this API.
>>
>> If you have any questions using this API, please feel free to email the
>> pde-ui-dev@eclipse.org mailing list.
>>
>> Cheers,
>>
>> Chris Aniszczyk
>> Eclipse Committer
>>
>> Inactive hide details for Clement Escoffier
>> <cl...@gmail.com>Clement Escoffier
>> <cl...@gmail.com>
>>
>>
>>
>>
>>
>>
>>
>> Clement Escoffier <cl...@gmail.com>
>>
>>
>>
>>
>> To:
>>
>>
>> felix-dev@incubator.apache.org
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> cc:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Subject:
>>
>>
>> Re: Work with Felix but how?!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> From:
>>
>>
>> Clement Escoffier <cl...@gmail.com> - Monday, October 16,
>> 2006, 12:50 PM
>>
>>
>>
>>
>> Please respond to felix-dev@incubator.apache.org
>>
>>
>>
>>
>> Hello,
>>
>> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
>> Felix Wiki Page :
>> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>>
>>
>> Regards,
>>
>> Clement
>>
>>
>> Francesco Furfari a écrit :
>>
>>
>>> Hi all,
>>> Clement has written a tutorial about Felix integration inside eclipse,
>>> see
>>>
>>>
>>>
>> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>>
>>
>>
>>> I think it should be added to the Felix wiki.
>>>
>>>
>>> best,
>>> francesco
>>>
>>>
>>>
>>> Simon Willnauer wrote:
>>>
>>>
>>>> Cheers guys!!
>>>>
>>>> I already build the sources thank you!
>>>> I will let you know about the integration of felix in GData.
>>>>
>>>>
>>>> best regards Simon
>>>>
>>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>>
>>>>
>>>>> I would also recommend the following:
>>>>>
>>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>>
>>>>> The first tells you the steps necessary for building Felix since it is
>>>>> currently only accessible from SVN and the second is a reasonably
>>>>> up-to-date usage document.
>>>>>
>>>>> -> richard
>>>>>
>>>>> Pierre Parrend wrote:
>>>>>
>>>>>
>>>>>> Hello Simon,
>>>>>>
>>>>>> you can refer to the Oscar project, which is the project where
>>>>>>
>>>>>>
>> Felix
>>
>>
>>>>> comes
>>>>>
>>>>>
>>>>>> from.
>>>>>> you will find a general documentation here :
>>>>>> http://oscar.objectweb.org/
>>>>>> a 'get started' page here :
>>>>>> http://oscar.objectweb.org/usage.html
>>>>>> and a tutorial that introduces the main OSGi feature from a
>>>>>>
>>>>>>
>>>>> developper's
>>>>> point
>>>>>
>>>>>
>>>>>> of view :
>>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>>>>
>>>>>> on the main page, you will also find a list of project that have
>>>>>>
>>>>>>
>> been
>>
>>
>>>>> build on
>>>>>
>>>>>
>>>>>> oscar, I assume that some of them have moved to Felix.
>>>>>>
>>>>>> And, last, the main difference between Oscar and felix is that
>>>>>>
>>>>>>
>> Oscar
>>
>>
>>>>> implements
>>>>>
>>>>>
>>>>>> OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>>>>
>>>>>>
>>>>> OSGi
>>>>>
>>>>>
>>>>>> Release 4 features.
>>>>>>
>>>>>> enjoy !
>>>>>>
>>>>>> Pierre
>>>>>>
>>>>>> Quoting Simon Willnauer <si...@apache.org>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi there,
>>>>>>>
>>>>>>> I read a lot about felix and OSGi and I actually can not wait to
>>>>>>>
>>>>>>>
>> use
>>
>>
>>>>> it. I'm
>>>>>
>>>>>
>>>>>>> planing to integrate the OSGi system into another apache project
>>>>>>>
>>>>>>>
>>>>> (Lucene
>>>>>
>>>>>
>>>>>>> GDataServer) but have no experience with it so far. I was looking
>>>>>>>
>>>>>>>
>>>>> for
>>>>> some
>>>>>
>>>>>
>>>>>>> "Getting Started" or examples tutorials to get into the framework
>>>>>>>
>>>>>>>
>> or
>>
>>
>>>>> how to
>>>>>
>>>>>
>>>>>>> integrate all the features OSGi / Felix offers. I got to the
>>>>>>>
>>>>>>>
>>>>> documentation
>>>>>
>>>>>
>>>>>>> part of the website and tried to read the Felix OSGi Tutorial (
>>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
>>>>>>>
>>>>>>>
>> to
>>
>>
>>>>> login,
>>>>>
>>>>>
>>>>>>> so I registered and logged in but I got no permission to read it. I
>>>>>>>
>>>>>>>
>>>>> would
>>>>>
>>>>>
>>>>>>> love to read this part of the documentation, can anyone of you
>>>>>>>
>>>>>>>
>>>>> tell me
>>>>> how
>>>>>
>>>>>
>>>>>>> ;).
>>>>>>> If any of you have some more documentation / tutorial hints for me
>>>>>>>
>>>>>>>
>> I
>>
>>
>>>>> would
>>>>>
>>>>>
>>>>>>> really appreciate it.
>>>>>>>
>>>>>>> Are there any OpenSource projects around using Felix so far?
>>>>>>>
>>>>>>> best regards Simon
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>
>>
>>
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Hi Richard,
I did an 'svn update' and showed that my working copy is checked out up to revision 482287. Also did an 'mvn clean install' on both new and old poms. However, the old pom.xml failed after it tried to test out one of the examples. But I had previously built the bundles (javax.servlet and http.jetty) needed for the test so this did not worry me. Unfortunately, I'm still getting the same errors.
-- rick
-----Original Message-----
From: Richard S. Hall [mailto:heavy@ungoverned.org]
Sent: Monday, December 04, 2006 6:58 AM
To: felix-dev@incubator.apache.org
Subject: Re: Felix and Eclipse PDE
Just as a quick suggestion, make sure that you are completely up-to-date
with the repo, because there was a bug in the maven bundle plugin that
caused too much stuff to be copied into the framework JAR file and this
was resulting in loader constraint errors.
-> richard
Rick Litton wrote:
> Hi Jeff,
>
> I was able to set up the Eclipse/Equinox bundles in Felix but unfortunately got the following errors:
>
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.urlconversion -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 10.0
> DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 6.0 -> org.osgi.service.url -> 0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.localization -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.framework.log -> 10.0
> DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 10.0
> ERROR: Error starting file:bundle/org.eclipse.equinox.common_3.2.0.v20060603.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader constraints
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:149)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:51)
> at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:121)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:358)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:136)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:70)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162)
> at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator.java:104)
> at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(PlatformURLConnection.java:70)
> at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport(Activator.java:330)
> at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.storagemanager -> 10.0
> DEBUG: WIRE: 7.0 -> org.xml.sax -> 0
> DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.resolver -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.environment -> 10.0
> DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 7.0 -> org.xml.sax.helpers -> 0
> DEBUG: WIRE: 7.0 -> javax.xml.parsers -> 0
> DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 10.0
> ERROR: Error starting file:bundle/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
> at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:52)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
> DEBUG: WIRE: 8.0 -> javax.servlet.http -> 4.0
> DEBUG: WIRE: 8.0 -> javax.servlet -> 4.0
> DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
> Hello World!!
> ERROR: Error starting file:bundle/org.eclipse.osgi_3.2.1.R32x_v20060919.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator
> at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:2750)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1255)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
>
> I suspect that there are dups that caused the conflict between the osgi libraries hence the classloading problem. Unfortunately, I can't provide you with more information as it's close to midnight. I'll go over it again tomorrow.
>
> Regards,
>
> Rick
>
>
>
> -----Original Message-----
> From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
> Sent: Tue 11/28/2006 8:16 PM
> To: felix-dev@incubator.apache.org
> Subject: RE: Felix and Eclipse PDE
>
> The Eclipse extension mechanism is an addon service/mechanism analogous to
> declarative services. That is, you should be able to take the
> org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
> it on other frameworks. In the case of the registry I suspect you would
> need the o.e.equinox.common and o.e.equinox.supplement bundles. The
> latter supplies implementations of various services that are included in
> the Equinox system bundle as part of its implementation strategy. We are
> just redoing how we manage the supplement bundle so a new one will appear
> in builds soon (or already has). I know that people have run the registry
> on Knopflerfish. Perhaps you would be interested in trying it out on
> Felix and reporting back to the Equinox team?
>
> Jeff
>
>
>
>
> "Rick Litton" <Ri...@ktd-kyocera.com>
> 11/28/2006 03:13 PM
> Please respond to
> felix-dev@incubator.apache.org
>
>
> To
> <fe...@incubator.apache.org>
> cc
>
> Subject
> RE: Felix and Eclipse PDE
>
>
>
>
>
>
> Hi all,
>
>
>
> The area of extension points is quite important for my organization. I
> was wondering if anyone can provide an update on this issue. Is anyone
> from the Felix community working to make Eclipse and Felix interoperable?
> Is there some sort of timeline to implement extension points in Felix? If
> not, why not? Thanks!
>
>
>
> Rick Litton
>
> ________________________________
>
> From: Chris Aniszczyk [mailto:zx@us.ibm.com]
> Sent: Tuesday, October 17, 2006 9:03 AM
> To: felix-dev@incubator.apache.org
> Cc: pde-ui-dev@eclipse.org
> Subject: Felix and Eclipse PDE
>
>
>
> On a side note, the PDE team from Eclipse would like everyone to know that
> as of Eclipse 3.3M2 (
> http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
> ) PDE supports pluggable OSGi frameworks (see the release notes). This
> allows other OSGi frameworks to be launched like Equinox is (also it
> allows for reusability of the launch configuration UIs and other things).
>
> There is an OSGi framework extension point (
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
> ) that interested OSGi frameworks can extend.
>
> Currently only Equinox is supported (
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
> ) but we would appreciate feedback from the Felix community if someone
> would like to create a Felix extension. We want to make sure this API is
> stable for Eclipse 3.3 and would love if the Felix community could help
> the evolution of this API.
>
> If you have any questions using this API, please feel free to email the
> pde-ui-dev@eclipse.org mailing list.
>
> Cheers,
>
> Chris Aniszczyk
> Eclipse Committer
>
> Inactive hide details for Clement Escoffier
> <cl...@gmail.com>Clement Escoffier
> <cl...@gmail.com>
>
>
>
>
>
>
>
> Clement Escoffier <cl...@gmail.com>
>
>
>
>
> To:
>
>
> felix-dev@incubator.apache.org
>
>
>
>
>
>
>
>
>
>
> cc:
>
>
>
>
>
>
>
>
>
>
>
>
> Subject:
>
>
> Re: Work with Felix but how?!
>
>
>
>
>
>
>
>
>
>
> From:
>
>
> Clement Escoffier <cl...@gmail.com> - Monday, October 16,
> 2006, 12:50 PM
>
>
>
>
> Please respond to felix-dev@incubator.apache.org
>
>
>
>
> Hello,
>
> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
> Felix Wiki Page :
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>
>
> Regards,
>
> Clement
>
>
> Francesco Furfari a écrit :
>
>> Hi all,
>> Clement has written a tutorial about Felix integration inside eclipse,
>> see
>>
>>
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
>> I think it should be added to the Felix wiki.
>>
>>
>> best,
>> francesco
>>
>>
>>
>> Simon Willnauer wrote:
>>
>>> Cheers guys!!
>>>
>>> I already build the sources thank you!
>>> I will let you know about the integration of felix in GData.
>>>
>>>
>>> best regards Simon
>>>
>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>>> I would also recommend the following:
>>>>
>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>
>>>> The first tells you the steps necessary for building Felix since it is
>>>> currently only accessible from SVN and the second is a reasonably
>>>> up-to-date usage document.
>>>>
>>>> -> richard
>>>>
>>>> Pierre Parrend wrote:
>>>>
>>>>> Hello Simon,
>>>>>
>>>>> you can refer to the Oscar project, which is the project where
>>>>>
> Felix
>
>>>> comes
>>>>
>>>>> from.
>>>>> you will find a general documentation here :
>>>>> http://oscar.objectweb.org/
>>>>> a 'get started' page here :
>>>>> http://oscar.objectweb.org/usage.html
>>>>> and a tutorial that introduces the main OSGi feature from a
>>>>>
>>>> developper's
>>>> point
>>>>
>>>>> of view :
>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>>>
>>>>> on the main page, you will also find a list of project that have
>>>>>
> been
>
>>>> build on
>>>>
>>>>> oscar, I assume that some of them have moved to Felix.
>>>>>
>>>>> And, last, the main difference between Oscar and felix is that
>>>>>
> Oscar
>
>>>> implements
>>>>
>>>>> OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>>>
>>>> OSGi
>>>>
>>>>> Release 4 features.
>>>>>
>>>>> enjoy !
>>>>>
>>>>> Pierre
>>>>>
>>>>> Quoting Simon Willnauer <si...@apache.org>:
>>>>>
>>>>>
>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>> I read a lot about felix and OSGi and I actually can not wait to
>>>>>>
> use
>
>>>> it. I'm
>>>>
>>>>>> planing to integrate the OSGi system into another apache project
>>>>>>
>>>> (Lucene
>>>>
>>>>>> GDataServer) but have no experience with it so far. I was looking
>>>>>>
>>>> for
>>>> some
>>>>
>>>>>> "Getting Started" or examples tutorials to get into the framework
>>>>>>
> or
>
>>>> how to
>>>>
>>>>>> integrate all the features OSGi / Felix offers. I got to the
>>>>>>
>>>> documentation
>>>>
>>>>>> part of the website and tried to read the Felix OSGi Tutorial (
>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
>>>>>>
> to
>
>>>> login,
>>>>
>>>>>> so I registered and logged in but I got no permission to read it. I
>>>>>>
>>>> would
>>>>
>>>>>> love to read this part of the documentation, can anyone of you
>>>>>>
>>>> tell me
>>>> how
>>>>
>>>>>> ;).
>>>>>> If any of you have some more documentation / tutorial hints for me
>>>>>>
> I
>
>>>> would
>>>>
>>>>>> really appreciate it.
>>>>>>
>>>>>> Are there any OpenSource projects around using Felix so far?
>>>>>>
>>>>>> best regards Simon
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>
>
>
>
>
>
>
>
Re: Felix and Eclipse PDE
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Just as a quick suggestion, make sure that you are completely up-to-date
with the repo, because there was a bug in the maven bundle plugin that
caused too much stuff to be copied into the framework JAR file and this
was resulting in loader constraint errors.
-> richard
Rick Litton wrote:
> Hi Jeff,
>
> I was able to set up the Eclipse/Equinox bundles in Felix but unfortunately got the following errors:
>
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.urlconversion -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 10.0
> DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 6.0 -> org.osgi.service.url -> 0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.localization -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.framework.log -> 10.0
> DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 10.0
> DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 10.0
> ERROR: Error starting file:bundle/org.eclipse.equinox.common_3.2.0.v20060603.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader constraints
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:149)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:51)
> at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:121)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:358)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:136)
> at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
> at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:70)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162)
> at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator.java:104)
> at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(PlatformURLConnection.java:70)
> at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport(Activator.java:330)
> at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.storagemanager -> 10.0
> DEBUG: WIRE: 7.0 -> org.xml.sax -> 0
> DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.resolver -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 10.0
> DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.environment -> 10.0
> DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 7.0 -> org.xml.sax.helpers -> 0
> DEBUG: WIRE: 7.0 -> javax.xml.parsers -> 0
> DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 10.0
> ERROR: Error starting file:bundle/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
> at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:52)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
> DEBUG: WIRE: 8.0 -> javax.servlet.http -> 4.0
> DEBUG: WIRE: 8.0 -> javax.servlet -> 4.0
> DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
> Hello World!!
> ERROR: Error starting file:bundle/org.eclipse.osgi_3.2.1.R32x_v20060919.jar (org.osgi.framework.BundleException: Activator start error.)
> java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator
> at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:2750)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1255)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> at java.lang.Thread.run(Thread.java:595)
>
> I suspect that there are dups that caused the conflict between the osgi libraries hence the classloading problem. Unfortunately, I can't provide you with more information as it's close to midnight. I'll go over it again tomorrow.
>
> Regards,
>
> Rick
>
>
>
> -----Original Message-----
> From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
> Sent: Tue 11/28/2006 8:16 PM
> To: felix-dev@incubator.apache.org
> Subject: RE: Felix and Eclipse PDE
>
> The Eclipse extension mechanism is an addon service/mechanism analogous to
> declarative services. That is, you should be able to take the
> org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
> it on other frameworks. In the case of the registry I suspect you would
> need the o.e.equinox.common and o.e.equinox.supplement bundles. The
> latter supplies implementations of various services that are included in
> the Equinox system bundle as part of its implementation strategy. We are
> just redoing how we manage the supplement bundle so a new one will appear
> in builds soon (or already has). I know that people have run the registry
> on Knopflerfish. Perhaps you would be interested in trying it out on
> Felix and reporting back to the Equinox team?
>
> Jeff
>
>
>
>
> "Rick Litton" <Ri...@ktd-kyocera.com>
> 11/28/2006 03:13 PM
> Please respond to
> felix-dev@incubator.apache.org
>
>
> To
> <fe...@incubator.apache.org>
> cc
>
> Subject
> RE: Felix and Eclipse PDE
>
>
>
>
>
>
> Hi all,
>
>
>
> The area of extension points is quite important for my organization. I
> was wondering if anyone can provide an update on this issue. Is anyone
> from the Felix community working to make Eclipse and Felix interoperable?
> Is there some sort of timeline to implement extension points in Felix? If
> not, why not? Thanks!
>
>
>
> Rick Litton
>
> ________________________________
>
> From: Chris Aniszczyk [mailto:zx@us.ibm.com]
> Sent: Tuesday, October 17, 2006 9:03 AM
> To: felix-dev@incubator.apache.org
> Cc: pde-ui-dev@eclipse.org
> Subject: Felix and Eclipse PDE
>
>
>
> On a side note, the PDE team from Eclipse would like everyone to know that
> as of Eclipse 3.3M2 (
> http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
> ) PDE supports pluggable OSGi frameworks (see the release notes). This
> allows other OSGi frameworks to be launched like Equinox is (also it
> allows for reusability of the launch configuration UIs and other things).
>
> There is an OSGi framework extension point (
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
> ) that interested OSGi frameworks can extend.
>
> Currently only Equinox is supported (
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
> ) but we would appreciate feedback from the Felix community if someone
> would like to create a Felix extension. We want to make sure this API is
> stable for Eclipse 3.3 and would love if the Felix community could help
> the evolution of this API.
>
> If you have any questions using this API, please feel free to email the
> pde-ui-dev@eclipse.org mailing list.
>
> Cheers,
>
> Chris Aniszczyk
> Eclipse Committer
>
> Inactive hide details for Clement Escoffier
> <cl...@gmail.com>Clement Escoffier
> <cl...@gmail.com>
>
>
>
>
>
>
>
> Clement Escoffier <cl...@gmail.com>
>
>
>
>
> To:
>
>
> felix-dev@incubator.apache.org
>
>
>
>
>
>
>
>
>
>
> cc:
>
>
>
>
>
>
>
>
>
>
>
>
> Subject:
>
>
> Re: Work with Felix but how?!
>
>
>
>
>
>
>
>
>
>
> From:
>
>
> Clement Escoffier <cl...@gmail.com> - Monday, October 16,
> 2006, 12:50 PM
>
>
>
>
> Please respond to felix-dev@incubator.apache.org
>
>
>
>
> Hello,
>
> I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
> Felix Wiki Page :
> http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
>
>
> Regards,
>
> Clement
>
>
> Francesco Furfari a écrit :
>
>> Hi all,
>> Clement has written a tutorial about Felix integration inside eclipse,
>> see
>>
>>
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
>> I think it should be added to the Felix wiki.
>>
>>
>> best,
>> francesco
>>
>>
>>
>> Simon Willnauer wrote:
>>
>>> Cheers guys!!
>>>
>>> I already build the sources thank you!
>>> I will let you know about the integration of felix in GData.
>>>
>>>
>>> best regards Simon
>>>
>>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>>> I would also recommend the following:
>>>>
>>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>>
>>>> The first tells you the steps necessary for building Felix since it is
>>>> currently only accessible from SVN and the second is a reasonably
>>>> up-to-date usage document.
>>>>
>>>> -> richard
>>>>
>>>> Pierre Parrend wrote:
>>>>
>>>>> Hello Simon,
>>>>>
>>>>> you can refer to the Oscar project, which is the project where
>>>>>
> Felix
>
>>>> comes
>>>>
>>>>> from.
>>>>> you will find a general documentation here :
>>>>> http://oscar.objectweb.org/
>>>>> a 'get started' page here :
>>>>> http://oscar.objectweb.org/usage.html
>>>>> and a tutorial that introduces the main OSGi feature from a
>>>>>
>>>> developper's
>>>> point
>>>>
>>>>> of view :
>>>>> http://oscar-osgi.sourceforge.net/tutorial/index.html
>>>>>
>>>>> on the main page, you will also find a list of project that have
>>>>>
> been
>
>>>> build on
>>>>
>>>>> oscar, I assume that some of them have moved to Felix.
>>>>>
>>>>> And, last, the main difference between Oscar and felix is that
>>>>>
> Oscar
>
>>>> implements
>>>>
>>>>> OSGi Release 3, and Felix is almost ready to implement all mandatory
>>>>>
>>>> OSGi
>>>>
>>>>> Release 4 features.
>>>>>
>>>>> enjoy !
>>>>>
>>>>> Pierre
>>>>>
>>>>> Quoting Simon Willnauer <si...@apache.org>:
>>>>>
>>>>>
>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>> I read a lot about felix and OSGi and I actually can not wait to
>>>>>>
> use
>
>>>> it. I'm
>>>>
>>>>>> planing to integrate the OSGi system into another apache project
>>>>>>
>>>> (Lucene
>>>>
>>>>>> GDataServer) but have no experience with it so far. I was looking
>>>>>>
>>>> for
>>>> some
>>>>
>>>>>> "Getting Started" or examples tutorials to get into the framework
>>>>>>
> or
>
>>>> how to
>>>>
>>>>>> integrate all the features OSGi / Felix offers. I got to the
>>>>>>
>>>> documentation
>>>>
>>>>>> part of the website and tried to read the Felix OSGi Tutorial (
>>>>>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
>>>>>>
> to
>
>>>> login,
>>>>
>>>>>> so I registered and logged in but I got no permission to read it. I
>>>>>>
>>>> would
>>>>
>>>>>> love to read this part of the documentation, can anyone of you
>>>>>>
>>>> tell me
>>>> how
>>>>
>>>>>> ;).
>>>>>> If any of you have some more documentation / tutorial hints for me
>>>>>>
> I
>
>>>> would
>>>>
>>>>>> really appreciate it.
>>>>>>
>>>>>> Are there any OpenSource projects around using Felix so far?
>>>>>>
>>>>>> best regards Simon
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>
>
>
>
>
>
>
>
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Hi Jeff,
I was able to set up the Eclipse/Equinox bundles in Felix but unfortunately got the following errors:
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.urlconversion -> 10.0
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.datalocation -> 10.0
DEBUG: WIRE: 6.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 6.0 -> org.osgi.service.url -> 0
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.localization -> 10.0
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.framework.log -> 10.0
DEBUG: WIRE: 6.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 6.0 -> org.osgi.util.tracker -> 10.0
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.util -> 10.0
DEBUG: WIRE: 6.0 -> org.eclipse.osgi.service.debug -> 10.0
ERROR: Error starting file:bundle/org.eclipse.equinox.common_3.2.0.v20060603.jar (org.osgi.framework.BundleException: Activator start error.)
java.lang.LinkageError: Class org/osgi/framework/BundleContext violates loader constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:149)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:51)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:121)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:358)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:136)
at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:70)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.osgi.util.tracker.ServiceTracker.<init>(ServiceTracker.java:162)
at org.eclipse.core.internal.runtime.Activator.getDebugOptions(Activator.java:104)
at org.eclipse.core.internal.boot.PlatformURLConnection.<clinit>(PlatformURLConnection.java:70)
at org.eclipse.core.internal.runtime.Activator.installPlatformURLSupport(Activator.java:330)
at org.eclipse.core.internal.runtime.Activator.start(Activator.java:79)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
at java.lang.Thread.run(Thread.java:595)
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.datalocation -> 10.0
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.storagemanager -> 10.0
DEBUG: WIRE: 7.0 -> org.xml.sax -> 0
DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.resolver -> 10.0
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.util -> 10.0
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.debug -> 10.0
DEBUG: WIRE: 7.0 -> org.eclipse.osgi.service.environment -> 10.0
DEBUG: WIRE: 7.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 7.0 -> org.xml.sax.helpers -> 0
DEBUG: WIRE: 7.0 -> javax.xml.parsers -> 0
DEBUG: WIRE: 7.0 -> org.osgi.util.tracker -> 10.0
ERROR: Error starting file:bundle/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar (org.osgi.framework.BundleException: Activator start error.)
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
at org.eclipse.core.internal.registry.osgi.Activator.start(Activator.java:52)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
at java.lang.Thread.run(Thread.java:595)
DEBUG: WIRE: 8.0 -> javax.servlet.http -> 4.0
DEBUG: WIRE: 8.0 -> javax.servlet -> 4.0
DEBUG: WIRE: 8.0 -> org.osgi.framework -> 0
Hello World!!
ERROR: Error starting file:bundle/org.eclipse.osgi_3.2.1.R32x_v20060919.jar (org.osgi.framework.BundleException: Activator start error.)
java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:2750)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1255)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
at java.lang.Thread.run(Thread.java:595)
I suspect that there are dups that caused the conflict between the osgi libraries hence the classloading problem. Unfortunately, I can't provide you with more information as it's close to midnight. I'll go over it again tomorrow.
Regards,
Rick
-----Original Message-----
From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
Sent: Tue 11/28/2006 8:16 PM
To: felix-dev@incubator.apache.org
Subject: RE: Felix and Eclipse PDE
The Eclipse extension mechanism is an addon service/mechanism analogous to
declarative services. That is, you should be able to take the
org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
it on other frameworks. In the case of the registry I suspect you would
need the o.e.equinox.common and o.e.equinox.supplement bundles. The
latter supplies implementations of various services that are included in
the Equinox system bundle as part of its implementation strategy. We are
just redoing how we manage the supplement bundle so a new one will appear
in builds soon (or already has). I know that people have run the registry
on Knopflerfish. Perhaps you would be interested in trying it out on
Felix and reporting back to the Equinox team?
Jeff
"Rick Litton" <Ri...@ktd-kyocera.com>
11/28/2006 03:13 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Hi all,
The area of extension points is quite important for my organization. I
was wondering if anyone can provide an update on this issue. Is anyone
from the Felix community working to make Eclipse and Felix interoperable?
Is there some sort of timeline to implement extension points in Felix? If
not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2 (
http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
) PDE supports pluggable OSGi frameworks (see the release notes). This
allows other OSGi frameworks to be launched like Equinox is (also it
allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
) that interested OSGi frameworks can extend.
Currently only Equinox is supported (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
) but we would appreciate feedback from the Felix community if someone
would like to create a Felix extension. We want to make sure this API is
stable for Eclipse 3.3 and would love if the Felix community could help
the evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier
<cl...@gmail.com>Clement Escoffier
<cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16,
2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where
Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have
been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that
Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to
use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework
or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me
I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Hi BJ,
Differences duly noted. But I'm left wondering if R4-DS (with its whiteboard/service binder concepts) is much more complex to implement compared to extension points (with its own version of DS embodied in the plugin.xml file) which in my mind is quite straightforward. Your comments are appreciated.
Regards,
-- rick
-----Original Message-----
From: BJ Hargrave [mailto:hargrave@us.ibm.com]
Sent: Wednesday, November 29, 2006 10:36 AM
To: felix-dev@incubator.apache.org
Subject: RE: Felix and Eclipse PDE
Eclipse extension points do not use the declarative service mechansim.
Extensions and services are different tools with different design points.
See http://www.eclipsecon.org/2006/Sub.do?id=185 for a presentation on
extensions and services which Jeff and I presented at EclipseCon last
year.
BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@us.ibm.com
office: +1 407 849 9117
mobile: +1 386 848 3788
"Rick Litton" <Ri...@ktd-kyocera.com>
11/29/2006 12:51 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Thanks Jeff for the quick response. Yes, I would certainly like to try
out your suggestion and load up those bundles. My only concern is if
there could be some issues supporting two registries simultaneously (Felix
bundle registry and Equinox extension registry). But perhaps this is a
good strategy to maintain a separation of concerns. I understand from
your recent book on RCP, you mentioned somewhere that the Equinox team
felt it was not practical to convert extension points to plain OSGi
services. But now it seems that this perception has changed with the
adoption of declarative services for the extension point mechanism. Not
knowing much about how Equinox implemented extension points, I had earlier
implemented a similar but simplistic version of this concept using an
IExtensionPoint service api in Felix (then Oscar). This was borne out of
necessity (project deadline) more than anything else.
P.S. I read your sample chapter on RCP (Chapter 2). Kudos on an excellent
book! I would recommend it even if you are not into RCP since it has
valuable info on Eclipse.
-- rick
-----Original Message-----
From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
Sent: Tuesday, November 28, 2006 8:17 PM
To: felix-dev@incubator.apache.org
Subject: RE: Felix and Eclipse PDE
The Eclipse extension mechanism is an addon service/mechanism analogous to
declarative services. That is, you should be able to take the
org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
it on other frameworks. In the case of the registry I suspect you would
need the o.e.equinox.common and o.e.equinox.supplement bundles. The
latter supplies implementations of various services that are included in
the Equinox system bundle as part of its implementation strategy. We are
just redoing how we manage the supplement bundle so a new one will appear
in builds soon (or already has). I know that people have run the registry
on Knopflerfish. Perhaps you would be interested in trying it out on
Felix and reporting back to the Equinox team?
Jeff
"Rick Litton" <Ri...@ktd-kyocera.com>
11/28/2006 03:13 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Hi all,
The area of extension points is quite important for my organization. I
was wondering if anyone can provide an update on this issue. Is anyone
from the Felix community working to make Eclipse and Felix interoperable?
Is there some sort of timeline to implement extension points in Felix? If
not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2 (
http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
) PDE supports pluggable OSGi frameworks (see the release notes). This
allows other OSGi frameworks to be launched like Equinox is (also it
allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
) that interested OSGi frameworks can extend.
Currently only Equinox is supported (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
) but we would appreciate feedback from the Felix community if someone
would like to create a Felix extension. We want to make sure this API is
stable for Eclipse 3.3 and would love if the Felix community could help
the evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier
<cl...@gmail.com>Clement Escoffier
<cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16,
2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where
Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have
been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that
Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to
use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework
or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me
I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
RE: Felix and Eclipse PDE
Posted by BJ Hargrave <ha...@us.ibm.com>.
Eclipse extension points do not use the declarative service mechansim.
Extensions and services are different tools with different design points.
See http://www.eclipsecon.org/2006/Sub.do?id=185 for a presentation on
extensions and services which Jeff and I presented at EclipseCon last
year.
BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@us.ibm.com
office: +1 407 849 9117
mobile: +1 386 848 3788
"Rick Litton" <Ri...@ktd-kyocera.com>
11/29/2006 12:51 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Thanks Jeff for the quick response. Yes, I would certainly like to try
out your suggestion and load up those bundles. My only concern is if
there could be some issues supporting two registries simultaneously (Felix
bundle registry and Equinox extension registry). But perhaps this is a
good strategy to maintain a separation of concerns. I understand from
your recent book on RCP, you mentioned somewhere that the Equinox team
felt it was not practical to convert extension points to plain OSGi
services. But now it seems that this perception has changed with the
adoption of declarative services for the extension point mechanism. Not
knowing much about how Equinox implemented extension points, I had earlier
implemented a similar but simplistic version of this concept using an
IExtensionPoint service api in Felix (then Oscar). This was borne out of
necessity (project deadline) more than anything else.
P.S. I read your sample chapter on RCP (Chapter 2). Kudos on an excellent
book! I would recommend it even if you are not into RCP since it has
valuable info on Eclipse.
-- rick
-----Original Message-----
From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
Sent: Tuesday, November 28, 2006 8:17 PM
To: felix-dev@incubator.apache.org
Subject: RE: Felix and Eclipse PDE
The Eclipse extension mechanism is an addon service/mechanism analogous to
declarative services. That is, you should be able to take the
org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
it on other frameworks. In the case of the registry I suspect you would
need the o.e.equinox.common and o.e.equinox.supplement bundles. The
latter supplies implementations of various services that are included in
the Equinox system bundle as part of its implementation strategy. We are
just redoing how we manage the supplement bundle so a new one will appear
in builds soon (or already has). I know that people have run the registry
on Knopflerfish. Perhaps you would be interested in trying it out on
Felix and reporting back to the Equinox team?
Jeff
"Rick Litton" <Ri...@ktd-kyocera.com>
11/28/2006 03:13 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Hi all,
The area of extension points is quite important for my organization. I
was wondering if anyone can provide an update on this issue. Is anyone
from the Felix community working to make Eclipse and Felix interoperable?
Is there some sort of timeline to implement extension points in Felix? If
not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2 (
http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
) PDE supports pluggable OSGi frameworks (see the release notes). This
allows other OSGi frameworks to be launched like Equinox is (also it
allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
) that interested OSGi frameworks can extend.
Currently only Equinox is supported (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
) but we would appreciate feedback from the Felix community if someone
would like to create a Felix extension. We want to make sure this API is
stable for Eclipse 3.3 and would love if the Felix community could help
the evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier
<cl...@gmail.com>Clement Escoffier
<cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16,
2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where
Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have
been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that
Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to
use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework
or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me
I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Thanks Jeff for the quick response. Yes, I would certainly like to try out your suggestion and load up those bundles. My only concern is if there could be some issues supporting two registries simultaneously (Felix bundle registry and Equinox extension registry). But perhaps this is a good strategy to maintain a separation of concerns. I understand from your recent book on RCP, you mentioned somewhere that the Equinox team felt it was not practical to convert extension points to plain OSGi services. But now it seems that this perception has changed with the adoption of declarative services for the extension point mechanism. Not knowing much about how Equinox implemented extension points, I had earlier implemented a similar but simplistic version of this concept using an IExtensionPoint service api in Felix (then Oscar). This was borne out of necessity (project deadline) more than anything else.
P.S. I read your sample chapter on RCP (Chapter 2). Kudos on an excellent book! I would recommend it even if you are not into RCP since it has valuable info on Eclipse.
-- rick
-----Original Message-----
From: Jeff McAffer [mailto:Jeff_McAffer@ca.ibm.com]
Sent: Tuesday, November 28, 2006 8:17 PM
To: felix-dev@incubator.apache.org
Subject: RE: Felix and Eclipse PDE
The Eclipse extension mechanism is an addon service/mechanism analogous to
declarative services. That is, you should be able to take the
org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
it on other frameworks. In the case of the registry I suspect you would
need the o.e.equinox.common and o.e.equinox.supplement bundles. The
latter supplies implementations of various services that are included in
the Equinox system bundle as part of its implementation strategy. We are
just redoing how we manage the supplement bundle so a new one will appear
in builds soon (or already has). I know that people have run the registry
on Knopflerfish. Perhaps you would be interested in trying it out on
Felix and reporting back to the Equinox team?
Jeff
"Rick Litton" <Ri...@ktd-kyocera.com>
11/28/2006 03:13 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Hi all,
The area of extension points is quite important for my organization. I
was wondering if anyone can provide an update on this issue. Is anyone
from the Felix community working to make Eclipse and Felix interoperable?
Is there some sort of timeline to implement extension points in Felix? If
not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2 (
http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
) PDE supports pluggable OSGi frameworks (see the release notes). This
allows other OSGi frameworks to be launched like Equinox is (also it
allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
) that interested OSGi frameworks can extend.
Currently only Equinox is supported (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
) but we would appreciate feedback from the Felix community if someone
would like to create a Felix extension. We want to make sure this API is
stable for Eclipse 3.3 and would love if the Felix community could help
the evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier
<cl...@gmail.com>Clement Escoffier
<cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16,
2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where
Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have
been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that
Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to
use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework
or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me
I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
RE: Felix and Eclipse PDE
Posted by Jeff McAffer <Je...@ca.ibm.com>.
The Eclipse extension mechanism is an addon service/mechanism analogous to
declarative services. That is, you should be able to take the
org.eclipse.equinox.registry bundle (and its prereqs) from Equinox and use
it on other frameworks. In the case of the registry I suspect you would
need the o.e.equinox.common and o.e.equinox.supplement bundles. The
latter supplies implementations of various services that are included in
the Equinox system bundle as part of its implementation strategy. We are
just redoing how we manage the supplement bundle so a new one will appear
in builds soon (or already has). I know that people have run the registry
on Knopflerfish. Perhaps you would be interested in trying it out on
Felix and reporting back to the Equinox team?
Jeff
"Rick Litton" <Ri...@ktd-kyocera.com>
11/28/2006 03:13 PM
Please respond to
felix-dev@incubator.apache.org
To
<fe...@incubator.apache.org>
cc
Subject
RE: Felix and Eclipse PDE
Hi all,
The area of extension points is quite important for my organization. I
was wondering if anyone can provide an update on this issue. Is anyone
from the Felix community working to make Eclipse and Felix interoperable?
Is there some sort of timeline to implement extension points in Felix? If
not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2 (
http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html
) PDE supports pluggable OSGi frameworks (see the release notes). This
allows other OSGi frameworks to be launched like Equinox is (also it
allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd
) that interested OSGi frameworks can extend.
Currently only Equinox is supported (
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java
) but we would appreciate feedback from the Felix community if someone
would like to create a Felix extension. We want to make sure this API is
stable for Eclipse 3.3 and would love if the Felix community could help
the evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier
<cl...@gmail.com>Clement Escoffier
<cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16,
2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where
Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have
been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that
Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to
use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework
or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me
I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
RE: Felix and Eclipse PDE
Posted by Rick Litton <Ri...@ktd-kyocera.com>.
Hi all,
The area of extension points is quite important for my organization. I was wondering if anyone can provide an update on this issue. Is anyone from the Felix community working to make Eclipse and Felix interoperable? Is there some sort of timeline to implement extension points in Felix? If not, why not? Thanks!
Rick Litton
________________________________
From: Chris Aniszczyk [mailto:zx@us.ibm.com]
Sent: Tuesday, October 17, 2006 9:03 AM
To: felix-dev@incubator.apache.org
Cc: pde-ui-dev@eclipse.org
Subject: Felix and Eclipse PDE
On a side note, the PDE team from Eclipse would like everyone to know that as of Eclipse 3.3M2 (http://download.eclipse.org/eclipse/downloads/drops/S-3.3M2-200609220010/eclipse-news-M2.html) PDE supports pluggable OSGi frameworks (see the release notes). This allows other OSGi frameworks to be launched like Equinox is (also it allows for reusability of the launch configuration UIs and other things).
There is an OSGi framework extension point (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd) that interested OSGi frameworks can extend.
Currently only Equinox is supported (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java) but we would appreciate feedback from the Felix community if someone would like to create a Felix extension. We want to make sure this API is stable for Eclipse 3.3 and would love if the Felix community could help the evolution of this API.
If you have any questions using this API, please feel free to email the pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Inactive hide details for Clement Escoffier <cl...@gmail.com>Clement Escoffier <cl...@gmail.com>
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday, October 16, 2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
Felix and Eclipse PDE
Posted by Chris Aniszczyk <zx...@us.ibm.com>.
On a side note, the PDE team from Eclipse would like everyone to know that
as of Eclipse 3.3M2
(http://download.eclipse.org/eclipse/downloads/drops/S-3.3
M2-200609220010/eclipse-news-M2.html) PDE supports pluggable OSGi
frameworks (see the release notes). This allows other OSGi frameworks to be
launched like Equinox is (also it allows for reusability of the launch
configuration UIs and other things).
There is an OSGi framework extension point
(http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/schema/osgiFrameworks.exsd)
that interested OSGi frameworks can extend.
Currently only Equinox is supported
(http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.ui/src/org/eclipse/pde/ui/launcher/EquinoxLaunchConfiguration.java)
but we would appreciate feedback from the Felix community if someone would
like to create a Felix extension. We want to make sure this API is stable
for Eclipse 3.3 and would love if the Felix community could help the
evolution of this API.
If you have any questions using this API, please feel free to email the
pde-ui-dev@eclipse.org mailing list.
Cheers,
Chris Aniszczyk
Eclipse Committer
Clement Escoffier <cl...@gmail.com>
To:
felix-dev@incubator.apache.org
cc:
Subject:
Re: Work with Felix but how?!
From:
Clement Escoffier <cl...@gmail.com> - Monday,
October 16, 2006, 12:50 PM
Please respond to felix-dev@incubator.apache.org
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
>
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
Re: Work with Felix but how?!
Posted by Clement Escoffier <cl...@gmail.com>.
Hello,
I migrate (endly) the tutorial : Felix Integration inside Eclipse on the
Felix Wiki Page :
http://cwiki.apache.org/confluence/display/FELIX/Felix+integration+inside+Eclipse
Regards,
Clement
Francesco Furfari a écrit :
> Hi all,
> Clement has written a tutorial about Felix integration inside eclipse,
> see
> http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
>
>
> I think it should be added to the Felix wiki.
>
>
> best,
> francesco
>
>
>
> Simon Willnauer wrote:
>> Cheers guys!!
>>
>> I already build the sources thank you!
>> I will let you know about the integration of felix in GData.
>>
>>
>> best regards Simon
>>
>> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>>
>>> I would also recommend the following:
>>>
>>> * http://cwiki.apache.org/FELIX/building-felix.html
>>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>>
>>> The first tells you the steps necessary for building Felix since it is
>>> currently only accessible from SVN and the second is a reasonably
>>> up-to-date usage document.
>>>
>>> -> richard
>>>
>>> Pierre Parrend wrote:
>>> > Hello Simon,
>>> >
>>> > you can refer to the Oscar project, which is the project where Felix
>>> comes
>>> > from.
>>> > you will find a general documentation here :
>>> > http://oscar.objectweb.org/
>>> > a 'get started' page here :
>>> > http://oscar.objectweb.org/usage.html
>>> > and a tutorial that introduces the main OSGi feature from a
>>> developper's
>>> point
>>> > of view :
>>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>>> >
>>> > on the main page, you will also find a list of project that have been
>>> build on
>>> > oscar, I assume that some of them have moved to Felix.
>>> >
>>> > And, last, the main difference between Oscar and felix is that Oscar
>>> implements
>>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>>> OSGi
>>> > Release 4 features.
>>> >
>>> > enjoy !
>>> >
>>> > Pierre
>>> >
>>> > Quoting Simon Willnauer <si...@apache.org>:
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >> I read a lot about felix and OSGi and I actually can not wait to use
>>> it. I'm
>>> >> planing to integrate the OSGi system into another apache project
>>> (Lucene
>>> >> GDataServer) but have no experience with it so far. I was looking
>>> for
>>> some
>>> >> "Getting Started" or examples tutorials to get into the framework or
>>> how to
>>> >> integrate all the features OSGi / Felix offers. I got to the
>>> documentation
>>> >> part of the website and tried to read the Felix OSGi Tutorial (
>>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
>>> login,
>>> >> so I registered and logged in but I got no permission to read it. I
>>> would
>>> >> love to read this part of the documentation, can anyone of you
>>> tell me
>>> how
>>> >> ;).
>>> >> If any of you have some more documentation / tutorial hints for me I
>>> would
>>> >> really appreciate it.
>>> >>
>>> >> Are there any OpenSource projects around using Felix so far?
>>> >>
>>> >> best regards Simon
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>
Re: Work with Felix but how?!
Posted by Francesco Furfari <fr...@isti.cnr.it>.
Hi all,
Clement has written a tutorial about Felix integration inside eclipse,
see
http://plop-plop.net/ipojo/index.php?option=com_content&task=view&id=23&Itemid=37
I think it should be added to the Felix wiki.
best,
francesco
Simon Willnauer wrote:
> Cheers guys!!
>
> I already build the sources thank you!
> I will let you know about the integration of felix in GData.
>
>
> best regards Simon
>
> On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>>
>> I would also recommend the following:
>>
>> * http://cwiki.apache.org/FELIX/building-felix.html
>> * http://cwiki.apache.org/FELIX/felix-usage.html
>>
>> The first tells you the steps necessary for building Felix since it is
>> currently only accessible from SVN and the second is a reasonably
>> up-to-date usage document.
>>
>> -> richard
>>
>> Pierre Parrend wrote:
>> > Hello Simon,
>> >
>> > you can refer to the Oscar project, which is the project where Felix
>> comes
>> > from.
>> > you will find a general documentation here :
>> > http://oscar.objectweb.org/
>> > a 'get started' page here :
>> > http://oscar.objectweb.org/usage.html
>> > and a tutorial that introduces the main OSGi feature from a
>> developper's
>> point
>> > of view :
>> > http://oscar-osgi.sourceforge.net/tutorial/index.html
>> >
>> > on the main page, you will also find a list of project that have been
>> build on
>> > oscar, I assume that some of them have moved to Felix.
>> >
>> > And, last, the main difference between Oscar and felix is that Oscar
>> implements
>> > OSGi Release 3, and Felix is almost ready to implement all mandatory
>> OSGi
>> > Release 4 features.
>> >
>> > enjoy !
>> >
>> > Pierre
>> >
>> > Quoting Simon Willnauer <si...@apache.org>:
>> >
>> >
>> >> Hi there,
>> >>
>> >> I read a lot about felix and OSGi and I actually can not wait to use
>> it. I'm
>> >> planing to integrate the OSGi system into another apache project
>> (Lucene
>> >> GDataServer) but have no experience with it so far. I was looking for
>> some
>> >> "Getting Started" or examples tutorials to get into the framework or
>> how to
>> >> integrate all the features OSGi / Felix offers. I got to the
>> documentation
>> >> part of the website and tried to read the Felix OSGi Tutorial (
>> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
>> login,
>> >> so I registered and logged in but I got no permission to read it. I
>> would
>> >> love to read this part of the documentation, can anyone of you tell me
>> how
>> >> ;).
>> >> If any of you have some more documentation / tutorial hints for me I
>> would
>> >> really appreciate it.
>> >>
>> >> Are there any OpenSource projects around using Felix so far?
>> >>
>> >> best regards Simon
>> >>
>> >>
>> >
>> >
>> >
>>
>
Re: Work with Felix but how?!
Posted by Simon Willnauer <si...@apache.org>.
Cheers guys!!
I already build the sources thank you!
I will let you know about the integration of felix in GData.
best regards Simon
On 10/6/06, Richard S. Hall <he...@ungoverned.org> wrote:
>
> I would also recommend the following:
>
> * http://cwiki.apache.org/FELIX/building-felix.html
> * http://cwiki.apache.org/FELIX/felix-usage.html
>
> The first tells you the steps necessary for building Felix since it is
> currently only accessible from SVN and the second is a reasonably
> up-to-date usage document.
>
> -> richard
>
> Pierre Parrend wrote:
> > Hello Simon,
> >
> > you can refer to the Oscar project, which is the project where Felix
> comes
> > from.
> > you will find a general documentation here :
> > http://oscar.objectweb.org/
> > a 'get started' page here :
> > http://oscar.objectweb.org/usage.html
> > and a tutorial that introduces the main OSGi feature from a developper's
> point
> > of view :
> > http://oscar-osgi.sourceforge.net/tutorial/index.html
> >
> > on the main page, you will also find a list of project that have been
> build on
> > oscar, I assume that some of them have moved to Felix.
> >
> > And, last, the main difference between Oscar and felix is that Oscar
> implements
> > OSGi Release 3, and Felix is almost ready to implement all mandatory
> OSGi
> > Release 4 features.
> >
> > enjoy !
> >
> > Pierre
> >
> > Quoting Simon Willnauer <si...@apache.org>:
> >
> >
> >> Hi there,
> >>
> >> I read a lot about felix and OSGi and I actually can not wait to use
> it. I'm
> >> planing to integrate the OSGi system into another apache project
> (Lucene
> >> GDataServer) but have no experience with it so far. I was looking for
> some
> >> "Getting Started" or examples tutorials to get into the framework or
> how to
> >> integrate all the features OSGi / Felix offers. I got to the
> documentation
> >> part of the website and tried to read the Felix OSGi Tutorial (
> >> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to
> login,
> >> so I registered and logged in but I got no permission to read it. I
> would
> >> love to read this part of the documentation, can anyone of you tell me
> how
> >> ;).
> >> If any of you have some more documentation / tutorial hints for me I
> would
> >> really appreciate it.
> >>
> >> Are there any OpenSource projects around using Felix so far?
> >>
> >> best regards Simon
> >>
> >>
> >
> >
> >
>
Re: Work with Felix but how?!
Posted by "Richard S. Hall" <he...@ungoverned.org>.
I would also recommend the following:
* http://cwiki.apache.org/FELIX/building-felix.html
* http://cwiki.apache.org/FELIX/felix-usage.html
The first tells you the steps necessary for building Felix since it is
currently only accessible from SVN and the second is a reasonably
up-to-date usage document.
-> richard
Pierre Parrend wrote:
> Hello Simon,
>
> you can refer to the Oscar project, which is the project where Felix comes
> from.
> you will find a general documentation here :
> http://oscar.objectweb.org/
> a 'get started' page here :
> http://oscar.objectweb.org/usage.html
> and a tutorial that introduces the main OSGi feature from a developper's point
> of view :
> http://oscar-osgi.sourceforge.net/tutorial/index.html
>
> on the main page, you will also find a list of project that have been build on
> oscar, I assume that some of them have moved to Felix.
>
> And, last, the main difference between Oscar and felix is that Oscar implements
> OSGi Release 3, and Felix is almost ready to implement all mandatory OSGi
> Release 4 features.
>
> enjoy !
>
> Pierre
>
> Quoting Simon Willnauer <si...@apache.org>:
>
>
>> Hi there,
>>
>> I read a lot about felix and OSGi and I actually can not wait to use it. I'm
>> planing to integrate the OSGi system into another apache project (Lucene
>> GDataServer) but have no experience with it so far. I was looking for some
>> "Getting Started" or examples tutorials to get into the framework or how to
>> integrate all the features OSGi / Felix offers. I got to the documentation
>> part of the website and tried to read the Felix OSGi Tutorial (
>> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to login,
>> so I registered and logged in but I got no permission to read it. I would
>> love to read this part of the documentation, can anyone of you tell me how
>> ;).
>> If any of you have some more documentation / tutorial hints for me I would
>> really appreciate it.
>>
>> Are there any OpenSource projects around using Felix so far?
>>
>> best regards Simon
>>
>>
>
>
>
Re: Work with Felix but how?!
Posted by Pierre Parrend <pi...@insa-lyon.fr>.
Hello Simon,
you can refer to the Oscar project, which is the project where Felix comes
from.
you will find a general documentation here :
http://oscar.objectweb.org/
a 'get started' page here :
http://oscar.objectweb.org/usage.html
and a tutorial that introduces the main OSGi feature from a developper's point
of view :
http://oscar-osgi.sourceforge.net/tutorial/index.html
on the main page, you will also find a list of project that have been build on
oscar, I assume that some of them have moved to Felix.
And, last, the main difference between Oscar and felix is that Oscar implements
OSGi Release 3, and Felix is almost ready to implement all mandatory OSGi
Release 4 features.
enjoy !
Pierre
Quoting Simon Willnauer <si...@apache.org>:
> Hi there,
>
> I read a lot about felix and OSGi and I actually can not wait to use it. I'm
> planing to integrate the OSGi system into another apache project (Lucene
> GDataServer) but have no experience with it so far. I was looking for some
> "Getting Started" or examples tutorials to get into the framework or how to
> integrate all the features OSGi / Felix offers. I got to the documentation
> part of the website and tried to read the Felix OSGi Tutorial (
> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had to login,
> so I registered and logged in but I got no permission to read it. I would
> love to read this part of the documentation, can anyone of you tell me how
> ;).
> If any of you have some more documentation / tutorial hints for me I would
> really appreciate it.
>
> Are there any OpenSource projects around using Felix so far?
>
> best regards Simon
>
--
Pierre Parrend
doctorant, moniteur
laboratoire CITI, 21, Av. Jean Capelle
69621 Villeurbanne Cedex
pierre.parrend@insa-lyon.fr
www.rzo.free.fr
Re: Work with Felix but how?!
Posted by Chris Custine <ch...@gmail.com>.
This is an interesting question that I have been pondering as well. At
first it seemed like re-packaging my app into bundles and utilizing the OSGi
/ Felix framework was the way to go, but as I started down that path I
realized that I was going to spend a lot of time "bundling" my own
components that would never be used outside of my core application.
Instead, what I really want is to utilize the OSGi framework for managing
"plugins" (ie Bundles) within my application so that we can package
functionality seperately and allow users to extend it as well.
I also started thinking about managing the bundles within my app so I
started writing an Ajax based admin page similar to the ones in the Oscar
repository. I originally thought I would write it as a Bundle, but all of
our apps are using Spring and Spring MVC and I couldn't figure out how to
include all of that in a standalone Bundle using the http or servlet
bundles. Like you said, there doesn't appear to be any way to deploy a full
blown web app with SCL's and request listeners (web.xml) using the built in
HTTP and servlet bundles.
Sorry to respond without an answer, but I wanted to register my interest in
these questions as well. I am going to use Felix for bundle management in
at least a couple of applications (one web, one middleware/messaging) and I
am starting from scratch, so I think these initial decisions / questions are
going to be common for any new developer. I am considering documenting the
thought process and outcome of these choices from a new user standpoint if
the Felix team is interested in adding something like that to the docs.
Chris
On 10/7/06, Simon Willnauer <si...@googlemail.com> wrote:
>
> > Also, feel free to ask more questions on this list.
> >
> > There we go.. I guess I got the idea of OSGi / Felix and build a nice
> simple example adding bundles and using them. The application I wanna
> refactor to make extensive use of felix basically runs in a
> servletcontainer
> and is shipped as a warfile. It seems a bit weak to me to use the osgi
> HttpService as a lot of configurations for the container are not visible
> as
> far as I can see. So anyway I'm interested in a "best practice" way to
> integrate felix. Is it as simple as I think it would be just starting up a
> new Felix instance (Felix f = new Felix() ... bla bla) within a context
> listener and register several servlets in the web.xml which make use of
> services provided by felix?
>
> Am I on the wrong way with this approach?
>
> best regards simon
>
>
Re: Work with Felix but how?!
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Simon Willnauer wrote:
>> Also, feel free to ask more questions on this list.
>>
>> There we go.. I guess I got the idea of OSGi / Felix and build a nice
> simple example adding bundles and using them. The application I wanna
> refactor to make extensive use of felix basically runs in a
> servletcontainer
> and is shipped as a warfile. It seems a bit weak to me to use the osgi
> HttpService as a lot of configurations for the container are not
> visible as
> far as I can see. So anyway I'm interested in a "best practice" way to
> integrate felix. Is it as simple as I think it would be just starting
> up a
> new Felix instance (Felix f = new Felix() ... bla bla) within a context
> listener and register several servlets in the web.xml which make use of
> services provided by felix?
>
> Am I on the wrong way with this approach?
I know some people have experimented with Oscar/Felix inside of a
servlet container, but I am not really sure if there is a best approach
to this or not...to some degree it seems that it would be dependent on
the servlet container implementation.
But starting up Felix is basically just creating an instance with the
appropriate properties for your situation. I have started a document
about launching and embedding Felix:
http://cwiki.apache.org/FELIX/launching-and-embedding-felix.html
It is not done yet, since I got pulled away on other things, but it
might be of some help as it is.
-> richard
Re: Work with Felix but how?!
Posted by Jeff McAffer <Je...@ca.ibm.com>.
You might find some ideas at http://eclipse.org/equinox/server
Jeff
"Simon Willnauer" <si...@googlemail.com>
10/07/2006 03:09 PM
Please respond to
felix-dev@incubator.apache.org
To
felix-dev@incubator.apache.org
cc
Subject
Re: Work with Felix but how?!
> Also, feel free to ask more questions on this list.
>
> There we go.. I guess I got the idea of OSGi / Felix and build a nice
simple example adding bundles and using them. The application I wanna
refactor to make extensive use of felix basically runs in a
servletcontainer
and is shipped as a warfile. It seems a bit weak to me to use the osgi
HttpService as a lot of configurations for the container are not visible
as
far as I can see. So anyway I'm interested in a "best practice" way to
integrate felix. Is it as simple as I think it would be just starting up a
new Felix instance (Felix f = new Felix() ... bla bla) within a context
listener and register several servlets in the web.xml which make use of
services provided by felix?
Am I on the wrong way with this approach?
best regards simon
Re: Work with Felix but how?!
Posted by Simon Willnauer <si...@googlemail.com>.
> Also, feel free to ask more questions on this list.
>
> There we go.. I guess I got the idea of OSGi / Felix and build a nice
simple example adding bundles and using them. The application I wanna
refactor to make extensive use of felix basically runs in a servletcontainer
and is shipped as a warfile. It seems a bit weak to me to use the osgi
HttpService as a lot of configurations for the container are not visible as
far as I can see. So anyway I'm interested in a "best practice" way to
integrate felix. Is it as simple as I think it would be just starting up a
new Felix instance (Felix f = new Felix() ... bla bla) within a context
listener and register several servlets in the web.xml which make use of
services provided by felix?
Am I on the wrong way with this approach?
best regards simon
Re: Work with Felix but how?!
Posted by Marcel Offermans <ma...@luminis.nl>.
Hello Simon,
On Oct 6, 2006, at 9:44 , Simon Willnauer wrote:
> I read a lot about felix and OSGi and I actually can not wait to
> use it. I'm
> planing to integrate the OSGi system into another apache project
> (Lucene
> GDataServer) but have no experience with it so far. I was looking
> for some
> "Getting Started" or examples tutorials to get into the framework
> or how to
> integrate all the features OSGi / Felix offers. I got to the
> documentation
> part of the website and tried to read the Felix OSGi Tutorial (
> http://cwiki.apache.org/FELIX/felix-osgi-tutorial.html) and I had
> to login,
> so I registered and logged in but I got no permission to read it. I
> would
> love to read this part of the documentation, can anyone of you tell
> me how
> ;).
> If any of you have some more documentation / tutorial hints for me
> I would
> really appreciate it.
Okay, first of all, the current list of documentation and tutorials
on the site is still very much a work in progress. Admittedly it is
not very complete at the moment.
You can start here:
http://cwiki.apache.org/FELIX/introduction-to-osgi.html
Also, check out the following links for more information:
http://en.wikipedia.org/wiki/OSGi
http://www.osgi.org/documents/osgi_technology/osgi-sp-overview.pdf
http://www.aqute.biz/osgi.html
http://www.aqute.biz/workshops.html
http://www.aqute.biz/resources/OSGI-short.pdf
http://www.knopflerfish.org/programming.html
http://oscar-osgi.sourceforge.net/tutorial/index.html
http://www.osgi.org/news_events/articles.asp?section=4
http://www.osgi.org/news_events/documents/
AutoManageServiceDependencies_byMOffermans.pdf
http://www.osgi.org/documents/osgi_technology/whiteboard.pdf
No doubt others can add some more links to this list, and I think we
should start adding them to the Felix site. As you can see, a lot of
information is not Felix specific at all and that's a good thing
because it should not (and does not) matter which framework you choose.
Also, feel free to ask more questions on this list.
> Are there any OpenSource projects around using Felix so far?
There are quite a few projects at least experimenting with Felix at
the moment. From the top of my head, some of them are: Apache
Directory Project, Spring, Cocoon, Jpox, James, Tuscany and Geronimo.
I'm deliberately saying "experimenting with" because Felix still has
to do its first official release, even thought the consensus is that
the framework is very stable.
Greetings, Marcel