You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by Carsten Ziegeler <cz...@apache.org> on 2019/09/05 05:18:19 UTC

Re: [CDI] Minimal list of bundles

Just as a follow-up, I got it running and created a project using Apache 
Sling's implementation of a feature model which is used to drive
RFC 241 : https://github.com/osgi/design/tree/master/rfcs/rfc0241

Regards
Carstne

Am 26.07.2019 um 17:46 schrieb Carsten Ziegeler:
> Thanks Ray, I'll give it a try
> 
> 
> Carsten
> 
> 
> Raymond Auge wrote
>> Here's a less complex example doing the same thing [1].
>>
>> - Ray
>>
>> [1]
>> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.servlet/pom.xml 
>>
>>
>> On Fri, Jul 26, 2019 at 10:59 AM Raymond Auge <ra...@liferay.com>
>> wrote:
>>
>>> The maven BOM for CDI should have everything since I use it to resolve
>>> outside of the CDI project [1].
>>>
>>> - Ray
>>>
>>> [1]
>>> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.jaxrs/pom.xml#L188-L194 
>>>
>>>
>>> On Fri, Jul 26, 2019 at 10:57 AM Carsten Ziegeler <cz...@apache.org>
>>> wrote:
>>>
>>>> Yes, but the maven pom does not have everything.
>>>>
>>>>
>>>> I'll continue fiddling around then
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Carsten
>>>>
>>>>
>>>> Raymond Auge wrote
>>>>> Also there's a maven BOM [1] that contains all the deps.
>>>>>
>>>>> - Ray
>>>>>
>>>>> [1]
>>>>>
>>>> https://repo1.maven.org/maven2/org/apache/aries/cdi/org.apache.aries.cdi.bom/1.0.2/org.apache.aries.cdi.bom-1.0.2.pom 
>>>>
>>>>>
>>>>> On Fri, Jul 26, 2019 at 10:51 AM Raymond Auge 
>>>>> <raymond.auge@liferay.com
>>>>>
>>>>> wrote:
>>>>>
>>>>>> You mean this [1]?
>>>>>> If you looked at the README [2]
>>>>>>
>>>>>> tldr; The default build produces an executable jar that contains all
>>>> the
>>>>>> bundles needed.
>>>>>>
>>>>>> - Ray
>>>>>>
>>>>>> [1]
>>>>>>
>>>> https://github.com/apache/aries-cdi/blob/master/cdi-executable/executable.bndrun#L34-L69 
>>>>
>>>>>> [2]
>>>>>>
>>>> https://github.com/apache/aries-cdi/blob/master/README.md#pre-built-runtime 
>>>>
>>>>>>
>>>>>> On Fri, Jul 26, 2019 at 10:23 AM Carsten Ziegeler <
>>>> cziegeler@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> I tried to get the CDI extender running, tried to figure out which
>>>>>>> bundles are required by transitively looking at the
>>>> imports/requirements.
>>>>>>> But so far I failed to get it running.
>>>>>>>
>>>>>>> Now, instead of me reporting what I did, I'm sure there are people
>>>> here
>>>>>>> who have it running. So is there some minimal list of bundles 
>>>>>>> required
>>>>>>> to run the CDI extender?
>>>>>>>
>>>>>>> Thanks
>>>>>>> Carsten
>>>>>>> -- 
>>>>>>> Carsten Ziegeler
>>>>>>> Adobe Research Switzerland
>>>>>>> cziegeler@apache.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>>>>>    (@rotty3000)
>>>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>>>>>    (@Liferay)
>>>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>>>>> (@OSGiAlliance)
>>>>>>
>>>>>
>>>>>
>>>> -- 
>>>> Carsten Ziegeler
>>>> Adobe Research Switzerland
>>>> cziegeler@apache.org
>>>>
>>>
>>>
>>> -- 
>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>>   (@rotty3000)
>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>>   (@Liferay)
>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>> (@OSGiAlliance)
>>>
>>
>>
> -- 
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org

-- 
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: [CDI] Minimal list of bundles

Posted by Raymond Auge <ra...@liferay.com>.
Hey Carsten,

That's a fair assessment. Thank you!

:)

- Ray

On Fri, Sep 6, 2019 at 4:09 AM Carsten Ziegeler <cz...@apache.org>
wrote:

> Thanks Ray
>
> Am 05.09.2019 um 21:18 schrieb Raymond Auge:
> > Looks cool!
> >
> > Couple points:
> > - you could avoid `-exportcontents: ${packages;VERSIONED}` by using @
> > org.osgi.annotation.bundle.Export
> ah right, we added that in R7 - the code was originally written for R6
>
> > - you could avoid having to write your own @BeanPropertyTypes for Http
> > Whiteboard properties by using this dependency:
> > <dependency>
> >    <groupId>org.apache.aries.cdi</groupId>
> >    <artifactId>org.apache.aries.cdi.extra</artifactId>
> >    <version>1.0.2</version>
> > </dependency>
> > It contains clones of all the known ComponentPropertyTypes for use in
> CDI.
> > Might save you a some lines of code.
> Cool, great
>
>
> >
> > Otherwise it looks really nice! :D
> >
> Thanks
>
> > Now tell me, how was your experience using CDI? (merely intended to get
> > rational feedback ;) )
> >
> I have the same demo app done with DS; getting started with DS is imho
> way simpler and feels easier - but of course this might be a little bit
> biased as I'm using DS for years.
>
> It took me some time to figure out which annotations to use to let bnd
> know about my beans or which annotations to use to make the bean
> configurable. It is somehow documented out there, but picking up the
> pieces you need to know here and there was some effort.
> And you need more annotations than you need for DS - at least at the
> moment; with the cdi.extra project you mention above its already
> slightly better.
>
> It was also hard to figure out why something didn't work at runtime; I
> don't remember the exact problem, but my beans didn't work (because I
> did something stupid with the annotations). This wasn't detected at
> build time, but at runtime, it simply didn't work and the error message
> was very general. Sorry that I don't have the details anymore
>
> But on the other hand this is the first version, so some road bumps here
> and there are expected. And considering this, it works pretty well.
>
> Or in short: if I would be used to CDI I probably would consider this
> approach.
>
> Regards
> Carsten
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)

Re: [CDI] Minimal list of bundles

Posted by Carsten Ziegeler <cz...@apache.org>.
Thanks Ray

Am 05.09.2019 um 21:18 schrieb Raymond Auge:
> Looks cool!
> 
> Couple points:
> - you could avoid `-exportcontents: ${packages;VERSIONED}` by using @
> org.osgi.annotation.bundle.Export
ah right, we added that in R7 - the code was originally written for R6

> - you could avoid having to write your own @BeanPropertyTypes for Http
> Whiteboard properties by using this dependency:
> <dependency>
>    <groupId>org.apache.aries.cdi</groupId>
>    <artifactId>org.apache.aries.cdi.extra</artifactId>
>    <version>1.0.2</version>
> </dependency>
> It contains clones of all the known ComponentPropertyTypes for use in CDI.
> Might save you a some lines of code.
Cool, great


> 
> Otherwise it looks really nice! :D
> 
Thanks

> Now tell me, how was your experience using CDI? (merely intended to get
> rational feedback ;) )
> 
I have the same demo app done with DS; getting started with DS is imho 
way simpler and feels easier - but of course this might be a little bit 
biased as I'm using DS for years.

It took me some time to figure out which annotations to use to let bnd 
know about my beans or which annotations to use to make the bean 
configurable. It is somehow documented out there, but picking up the 
pieces you need to know here and there was some effort.
And you need more annotations than you need for DS - at least at the 
moment; with the cdi.extra project you mention above its already 
slightly better.

It was also hard to figure out why something didn't work at runtime; I 
don't remember the exact problem, but my beans didn't work (because I 
did something stupid with the annotations). This wasn't detected at 
build time, but at runtime, it simply didn't work and the error message 
was very general. Sorry that I don't have the details anymore

But on the other hand this is the first version, so some road bumps here 
and there are expected. And considering this, it works pretty well.

Or in short: if I would be used to CDI I probably would consider this 
approach.

Regards
Carsten
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: [CDI] Minimal list of bundles

Posted by Raymond Auge <ra...@liferay.com>.
Looks cool!

Couple points:
- you could avoid `-exportcontents: ${packages;VERSIONED}` by using @
org.osgi.annotation.bundle.Export
- you could avoid having to write your own @BeanPropertyTypes for Http
Whiteboard properties by using this dependency:
<dependency>
  <groupId>org.apache.aries.cdi</groupId>
  <artifactId>org.apache.aries.cdi.extra</artifactId>
  <version>1.0.2</version>
</dependency>
It contains clones of all the known ComponentPropertyTypes for use in CDI.
Might save you a some lines of code.

Otherwise it looks really nice! :D

Now tell me, how was your experience using CDI? (merely intended to get
rational feedback ;) )

- Ray


On Thu, Sep 5, 2019 at 1:40 PM Carsten Ziegeler <cz...@apache.org>
wrote:

> Sure: https://github.com/cziegeler/features.cdi
>
> it even has a readme with instructions :)
>
> Regards
> Carsten
>
> Am 05.09.2019 um 16:36 schrieb Raymond Auge:
> > Cool! Do you have a link to the project repo so we can have a look?
> >
> > - Ray
> >
> > On Thu, Sep 5, 2019 at 1:18 AM Carsten Ziegeler <cz...@apache.org>
> > wrote:
> >
> >> Just as a follow-up, I got it running and created a project using Apache
> >> Sling's implementation of a feature model which is used to drive
> >> RFC 241 : https://github.com/osgi/design/tree/master/rfcs/rfc0241
> >>
> >> Regards
> >> Carstne
> >>
> >> Am 26.07.2019 um 17:46 schrieb Carsten Ziegeler:
> >>> Thanks Ray, I'll give it a try
> >>>
> >>>
> >>> Carsten
> >>>
> >>>
> >>> Raymond Auge wrote
> >>>> Here's a less complex example doing the same thing [1].
> >>>>
> >>>> - Ray
> >>>>
> >>>> [1]
> >>>>
> >>
> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.servlet/pom.xml
> >>>>
> >>>>
> >>>> On Fri, Jul 26, 2019 at 10:59 AM Raymond Auge <
> raymond.auge@liferay.com
> >>>
> >>>> wrote:
> >>>>
> >>>>> The maven BOM for CDI should have everything since I use it to
> resolve
> >>>>> outside of the CDI project [1].
> >>>>>
> >>>>> - Ray
> >>>>>
> >>>>> [1]
> >>>>>
> >>
> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.jaxrs/pom.xml#L188-L194
> >>>>>
> >>>>>
> >>>>> On Fri, Jul 26, 2019 at 10:57 AM Carsten Ziegeler <
> >> cziegeler@apache.org>
> >>>>> wrote:
> >>>>>
> >>>>>> Yes, but the maven pom does not have everything.
> >>>>>>
> >>>>>>
> >>>>>> I'll continue fiddling around then
> >>>>>>
> >>>>>>
> >>>>>> Thanks
> >>>>>>
> >>>>>> Carsten
> >>>>>>
> >>>>>>
> >>>>>> Raymond Auge wrote
> >>>>>>> Also there's a maven BOM [1] that contains all the deps.
> >>>>>>>
> >>>>>>> - Ray
> >>>>>>>
> >>>>>>> [1]
> >>>>>>>
> >>>>>>
> >>
> https://repo1.maven.org/maven2/org/apache/aries/cdi/org.apache.aries.cdi.bom/1.0.2/org.apache.aries.cdi.bom-1.0.2.pom
> >>>>>>
> >>>>>>>
> >>>>>>> On Fri, Jul 26, 2019 at 10:51 AM Raymond Auge
> >>>>>>> <raymond.auge@liferay.com
> >>>>>>>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> You mean this [1]?
> >>>>>>>> If you looked at the README [2]
> >>>>>>>>
> >>>>>>>> tldr; The default build produces an executable jar that contains
> all
> >>>>>> the
> >>>>>>>> bundles needed.
> >>>>>>>>
> >>>>>>>> - Ray
> >>>>>>>>
> >>>>>>>> [1]
> >>>>>>>>
> >>>>>>
> >>
> https://github.com/apache/aries-cdi/blob/master/cdi-executable/executable.bndrun#L34-L69
> >>>>>>
> >>>>>>>> [2]
> >>>>>>>>
> >>>>>>
> >>
> https://github.com/apache/aries-cdi/blob/master/README.md#pre-built-runtime
> >>>>>>
> >>>>>>>>
> >>>>>>>> On Fri, Jul 26, 2019 at 10:23 AM Carsten Ziegeler <
> >>>>>> cziegeler@apache.org>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Hi
> >>>>>>>>>
> >>>>>>>>> I tried to get the CDI extender running, tried to figure out
> which
> >>>>>>>>> bundles are required by transitively looking at the
> >>>>>> imports/requirements.
> >>>>>>>>> But so far I failed to get it running.
> >>>>>>>>>
> >>>>>>>>> Now, instead of me reporting what I did, I'm sure there are
> people
> >>>>>> here
> >>>>>>>>> who have it running. So is there some minimal list of bundles
> >>>>>>>>> required
> >>>>>>>>> to run the CDI extender?
> >>>>>>>>>
> >>>>>>>>> Thanks
> >>>>>>>>> Carsten
> >>>>>>>>> --
> >>>>>>>>> Carsten Ziegeler
> >>>>>>>>> Adobe Research Switzerland
> >>>>>>>>> cziegeler@apache.org
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>>>>>>     (@rotty3000)
> >>>>>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com
> >
> >>>>>>>>     (@Liferay)
> >>>>>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >>>>>>>> (@OSGiAlliance)
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>> --
> >>>>>> Carsten Ziegeler
> >>>>>> Adobe Research Switzerland
> >>>>>> cziegeler@apache.org
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>>>    (@rotty3000)
> >>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>>>>    (@Liferay)
> >>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >>>>> (@OSGiAlliance)
> >>>>>
> >>>>
> >>>>
> >>> --
> >>> Carsten Ziegeler
> >>> Adobe Research Switzerland
> >>> cziegeler@apache.org
> >>
> >> --
> >> --
> >> Carsten Ziegeler
> >> Adobe Research Switzerland
> >> cziegeler@apache.org
> >>
> >
> >
>
> --
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)

Re: [CDI] Minimal list of bundles

Posted by Carsten Ziegeler <cz...@apache.org>.
Sure: https://github.com/cziegeler/features.cdi

it even has a readme with instructions :)

Regards
Carsten

Am 05.09.2019 um 16:36 schrieb Raymond Auge:
> Cool! Do you have a link to the project repo so we can have a look?
> 
> - Ray
> 
> On Thu, Sep 5, 2019 at 1:18 AM Carsten Ziegeler <cz...@apache.org>
> wrote:
> 
>> Just as a follow-up, I got it running and created a project using Apache
>> Sling's implementation of a feature model which is used to drive
>> RFC 241 : https://github.com/osgi/design/tree/master/rfcs/rfc0241
>>
>> Regards
>> Carstne
>>
>> Am 26.07.2019 um 17:46 schrieb Carsten Ziegeler:
>>> Thanks Ray, I'll give it a try
>>>
>>>
>>> Carsten
>>>
>>>
>>> Raymond Auge wrote
>>>> Here's a less complex example doing the same thing [1].
>>>>
>>>> - Ray
>>>>
>>>> [1]
>>>>
>> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.servlet/pom.xml
>>>>
>>>>
>>>> On Fri, Jul 26, 2019 at 10:59 AM Raymond Auge <raymond.auge@liferay.com
>>>
>>>> wrote:
>>>>
>>>>> The maven BOM for CDI should have everything since I use it to resolve
>>>>> outside of the CDI project [1].
>>>>>
>>>>> - Ray
>>>>>
>>>>> [1]
>>>>>
>> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.jaxrs/pom.xml#L188-L194
>>>>>
>>>>>
>>>>> On Fri, Jul 26, 2019 at 10:57 AM Carsten Ziegeler <
>> cziegeler@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Yes, but the maven pom does not have everything.
>>>>>>
>>>>>>
>>>>>> I'll continue fiddling around then
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Carsten
>>>>>>
>>>>>>
>>>>>> Raymond Auge wrote
>>>>>>> Also there's a maven BOM [1] that contains all the deps.
>>>>>>>
>>>>>>> - Ray
>>>>>>>
>>>>>>> [1]
>>>>>>>
>>>>>>
>> https://repo1.maven.org/maven2/org/apache/aries/cdi/org.apache.aries.cdi.bom/1.0.2/org.apache.aries.cdi.bom-1.0.2.pom
>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 26, 2019 at 10:51 AM Raymond Auge
>>>>>>> <raymond.auge@liferay.com
>>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> You mean this [1]?
>>>>>>>> If you looked at the README [2]
>>>>>>>>
>>>>>>>> tldr; The default build produces an executable jar that contains all
>>>>>> the
>>>>>>>> bundles needed.
>>>>>>>>
>>>>>>>> - Ray
>>>>>>>>
>>>>>>>> [1]
>>>>>>>>
>>>>>>
>> https://github.com/apache/aries-cdi/blob/master/cdi-executable/executable.bndrun#L34-L69
>>>>>>
>>>>>>>> [2]
>>>>>>>>
>>>>>>
>> https://github.com/apache/aries-cdi/blob/master/README.md#pre-built-runtime
>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jul 26, 2019 at 10:23 AM Carsten Ziegeler <
>>>>>> cziegeler@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> I tried to get the CDI extender running, tried to figure out which
>>>>>>>>> bundles are required by transitively looking at the
>>>>>> imports/requirements.
>>>>>>>>> But so far I failed to get it running.
>>>>>>>>>
>>>>>>>>> Now, instead of me reporting what I did, I'm sure there are people
>>>>>> here
>>>>>>>>> who have it running. So is there some minimal list of bundles
>>>>>>>>> required
>>>>>>>>> to run the CDI extender?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> Carsten
>>>>>>>>> --
>>>>>>>>> Carsten Ziegeler
>>>>>>>>> Adobe Research Switzerland
>>>>>>>>> cziegeler@apache.org
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>>>>>>>     (@rotty3000)
>>>>>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>>>>>>>     (@Liferay)
>>>>>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>>>>>>> (@OSGiAlliance)
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Carsten Ziegeler
>>>>>> Adobe Research Switzerland
>>>>>> cziegeler@apache.org
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>>>>    (@rotty3000)
>>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>>>>    (@Liferay)
>>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>>>> (@OSGiAlliance)
>>>>>
>>>>
>>>>
>>> --
>>> Carsten Ziegeler
>>> Adobe Research Switzerland
>>> cziegeler@apache.org
>>
>> --
>> --
>> Carsten Ziegeler
>> Adobe Research Switzerland
>> cziegeler@apache.org
>>
> 
> 

-- 
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: [CDI] Minimal list of bundles

Posted by Raymond Auge <ra...@liferay.com>.
Cool! Do you have a link to the project repo so we can have a look?

- Ray

On Thu, Sep 5, 2019 at 1:18 AM Carsten Ziegeler <cz...@apache.org>
wrote:

> Just as a follow-up, I got it running and created a project using Apache
> Sling's implementation of a feature model which is used to drive
> RFC 241 : https://github.com/osgi/design/tree/master/rfcs/rfc0241
>
> Regards
> Carstne
>
> Am 26.07.2019 um 17:46 schrieb Carsten Ziegeler:
> > Thanks Ray, I'll give it a try
> >
> >
> > Carsten
> >
> >
> > Raymond Auge wrote
> >> Here's a less complex example doing the same thing [1].
> >>
> >> - Ray
> >>
> >> [1]
> >>
> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.servlet/pom.xml
> >>
> >>
> >> On Fri, Jul 26, 2019 at 10:59 AM Raymond Auge <raymond.auge@liferay.com
> >
> >> wrote:
> >>
> >>> The maven BOM for CDI should have everything since I use it to resolve
> >>> outside of the CDI project [1].
> >>>
> >>> - Ray
> >>>
> >>> [1]
> >>>
> https://github.com/rotty3000/com.github.rotty3000.examples/blob/master/com.github.rotty3000.cdi.jaxrs/pom.xml#L188-L194
> >>>
> >>>
> >>> On Fri, Jul 26, 2019 at 10:57 AM Carsten Ziegeler <
> cziegeler@apache.org>
> >>> wrote:
> >>>
> >>>> Yes, but the maven pom does not have everything.
> >>>>
> >>>>
> >>>> I'll continue fiddling around then
> >>>>
> >>>>
> >>>> Thanks
> >>>>
> >>>> Carsten
> >>>>
> >>>>
> >>>> Raymond Auge wrote
> >>>>> Also there's a maven BOM [1] that contains all the deps.
> >>>>>
> >>>>> - Ray
> >>>>>
> >>>>> [1]
> >>>>>
> >>>>
> https://repo1.maven.org/maven2/org/apache/aries/cdi/org.apache.aries.cdi.bom/1.0.2/org.apache.aries.cdi.bom-1.0.2.pom
> >>>>
> >>>>>
> >>>>> On Fri, Jul 26, 2019 at 10:51 AM Raymond Auge
> >>>>> <raymond.auge@liferay.com
> >>>>>
> >>>>> wrote:
> >>>>>
> >>>>>> You mean this [1]?
> >>>>>> If you looked at the README [2]
> >>>>>>
> >>>>>> tldr; The default build produces an executable jar that contains all
> >>>> the
> >>>>>> bundles needed.
> >>>>>>
> >>>>>> - Ray
> >>>>>>
> >>>>>> [1]
> >>>>>>
> >>>>
> https://github.com/apache/aries-cdi/blob/master/cdi-executable/executable.bndrun#L34-L69
> >>>>
> >>>>>> [2]
> >>>>>>
> >>>>
> https://github.com/apache/aries-cdi/blob/master/README.md#pre-built-runtime
> >>>>
> >>>>>>
> >>>>>> On Fri, Jul 26, 2019 at 10:23 AM Carsten Ziegeler <
> >>>> cziegeler@apache.org>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Hi
> >>>>>>>
> >>>>>>> I tried to get the CDI extender running, tried to figure out which
> >>>>>>> bundles are required by transitively looking at the
> >>>> imports/requirements.
> >>>>>>> But so far I failed to get it running.
> >>>>>>>
> >>>>>>> Now, instead of me reporting what I did, I'm sure there are people
> >>>> here
> >>>>>>> who have it running. So is there some minimal list of bundles
> >>>>>>> required
> >>>>>>> to run the CDI extender?
> >>>>>>>
> >>>>>>> Thanks
> >>>>>>> Carsten
> >>>>>>> --
> >>>>>>> Carsten Ziegeler
> >>>>>>> Adobe Research Switzerland
> >>>>>>> cziegeler@apache.org
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>>>>    (@rotty3000)
> >>>>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>>>>>    (@Liferay)
> >>>>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >>>>>> (@OSGiAlliance)
> >>>>>>
> >>>>>
> >>>>>
> >>>> --
> >>>> Carsten Ziegeler
> >>>> Adobe Research Switzerland
> >>>> cziegeler@apache.org
> >>>>
> >>>
> >>>
> >>> --
> >>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>>   (@rotty3000)
> >>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>>   (@Liferay)
> >>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >>> (@OSGiAlliance)
> >>>
> >>
> >>
> > --
> > Carsten Ziegeler
> > Adobe Research Switzerland
> > cziegeler@apache.org
>
> --
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)