Re: [osgi-dev] enRoute Quickstart Maven Build Failure

2018-05-08 Thread Thomas Driessen via osgi-dev
es and archetypes will need to be updated for that too. There are likely to be other Apache projects doing the same thing as part of the R7 RI release process. Feel free to create a PR, or I should be able to update this on Tuesday. Tim Sent from my iPhone On 6 May 2018, at 12:35, Thomas

[osgi-dev] enRoute Quickstart Maven Build Failure

2018-05-06 Thread Thomas Driessen via osgi-dev
Hi, I just tried to do the quickstart tutorial. I cloned the repository and run the command "mvn verify", but the buil failed with the following message: [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order:

Re: [osgi-dev] Fwd: Fwd: Vaadin 8.2 in OSGi: ClassNotFound

2018-01-18 Thread Thomas Driessen via osgi-dev
Hello, just for other people that are trying to get Vaadin 8 to work within an OSGi environment: The ClassNotFoundException for AppWidgetset can be ignored. If Vaadin does not find this class it falls back to the default widgetset. The lost connection seems to stem from false urlPatterns

Re: [osgi-dev] Fwd: Fwd: Vaadin 8.2 in OSGi: ClassNotFound

2018-01-18 Thread Thomas Driessen via osgi-dev
Hi Paul, right now I'm using a mixture of Vaadin 8.2.1 bundles, the enroute code and a little bit of current vaadin bugfixing code ;) If you start all vaadin bundles (com.vaadin.shared, com.vaadin.server, com.vaadin.external.gentyref, com.vaadin.client-compiled and com.vaadin.themes) vaadin

[osgi-dev] Vaadin 8.2 in OSGi: ClassNotFound

2018-01-16 Thread Thomas Driessen via osgi-dev
Hi, I also asked this question in the Vaadin forum. I just thought that maybe another OSGi developer already had the same problems and am therefore posting this question here too: I just tried to run a simple Hello World Vaadin app in an OSGi environment (I don't use Karaf) and ended up with a

[osgi-dev] Vaadin 8.2.1 in OSGi

2018-01-25 Thread Thomas Driessen via osgi-dev
Hi, if someone is still interested in using Vaadin 8 in OSGi: I've created an integration that enables the developer to use a declared Vaadin UI as a Declarative Service. The code for this integration can be found here: https://github.com/Sandared/vaadin8integration All a developer has to

Re: [osgi-dev] DS Reference injection order

2018-02-02 Thread Thomas Driessen via osgi-dev
set many times afterwards on other threads. Dynamic services should always be treated with care, whether they are optional or not. Tim On 31 Jan 2018, at 10:50, Thomas Driessen via osgi-dev <osgi-dev@mail.osgi.org> wrote: Hi, I searched the compendium spec but didn't find what I was looki

Re: [osgi-dev] DS Reference injection order

2018-02-02 Thread Thomas Driessen via osgi-dev
definition observable through optional services. A bit like relativity theory. Kind regards, Peter Kriens On 2 Feb 2018, at 10:35, Thomas Driessen via osgi-dev <osgi-dev@mail.osgi.org> wrote: Hi, thanks for all those answers and sorry for my late response. Maybe I have been

[osgi-dev] DS Reference injection order

2018-01-31 Thread Thomas Driessen via osgi-dev
Hi, I searched the compendium spec but didn't find what I was looking for. If I have a DS with multiple references to other DS @Component class Example1{ @Reference Example2 e2 @Reference Example3 e3 } in which order are the references injected? Is there even a

[osgi-dev] OSGi Push Streams

2018-01-02 Thread Thomas Driessen via osgi-dev
Hi, where can I find the current reference implementation for the upcoming OSGi Push Streams? I've seen some talks about it, but could not find it anywhere. Apache Aries had them in their repository, but the last update has been last year. Kind regards,

[osgi-dev] Vaadin 10 OSGi Support

2018-03-22 Thread Thomas Driessen via osgi-dev
Hi, as some people already wrote about Vaadin in OSGi applications in this mailinglist, maybe those are interested in "upvoting" the "OSGi support and test" issue of the new Vaadin 10. https://github.com/vaadin/flow/issues/455 Maybe this gets us a better OSGi support in Vaadin 10 sooner.

Re: [osgi-dev] Vaadin 10 OSGi Support

2018-03-23 Thread Thomas Driessen via osgi-dev
11:07 PM, Thomas Driessen via osgi-dev wrote: Hi, as some people already wrote about Vaadin in OSGi applications in this mailinglist, maybe those are interested in "upvoting" the "OSGi support and test" issue of the new Vaadin 10. https://github.com/vaadin/flow/issues/4

[osgi-dev] JMH within OSGi

2018-09-27 Thread Thomas Driessen via osgi-dev
Hi, I want to benchmark a method within a running OSGi instance. There are three services A, B, C where A references B and B references C. Calling a method on A transitively calls a method on B which calls a method on C. A, B and C are configured at runtime through ConfigurationAdmin and I

[osgi-dev] Typos/Errata in R7 compendium

2018-08-31 Thread Thomas Driessen via osgi-dev
Hi, what do I have to do to report typos/errata in the compendium spec? Kind regards, Thomas___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Vaadin flow works in bnd workspace, fails in enRoute project

2019-01-16 Thread Thomas Driessen via osgi-dev
Hi Tim, thanks for the feedback and opening the issue :) Thomas -- Originalnachricht -- Von: "Tim Ward" An: "Thomas Driessen" Cc: "Paul F Fraser" ; "OSGi Developer Mail List" Gesendet: 16.01.2019 12:51:24 Betreff: Re: [osgi-dev] Vaadin flow works in bnd workspace, fails in

Re: [osgi-dev] Vaadin flow works in bnd workspace, fails in enRoute project

2019-01-16 Thread Thomas Driessen via osgi-dev
Hi Tim, hi Paul, I think they had some trouble with resources in Vaadin in OSGi (Vaadin makes some specific assumptions oabout the file layout I think) and therefore implemented their own ResourceTracker

[osgi-dev] Scanning classes at runtime

2019-01-23 Thread Thomas Driessen via osgi-dev
Hi, for a project of mine I need to mimic the behavior of a ServletContainerInitializer [1], but with the dynamism of OSGi in mind. Therefore, I need to be able to find all classes that implement/extend a specific class or are annotated with a specific annotation at runtime. Is there a

Re: [osgi-dev] Scanning classes at runtime

2019-01-23 Thread Thomas Driessen via osgi-dev
Regards, Tim On 23 Jan 2019, at 16:10, Thomas Driessen via osgi-dev wrote: Hi, for a project of mine I need to mimic the behavior of a ServletContainerInitializer [1], but with the dynamism of OSGi in mind. Therefore, I need to be able to find all classes that implement/extend a s

[osgi-dev] No service events for an embedded OSGi Framework?

2018-11-28 Thread Thomas Driessen via osgi-dev
Hi, I'm trying to setup an OSGi framework instance (Felix) then to install two bundles and finally getting a reference to a ComponentFactory inside the framework via a ServiceListener. No Exceptions are thrown but my ServiceListener ist not getting any events. You can have a look at the

Re: [osgi-dev] SCR API

2019-02-26 Thread Thomas Driessen via osgi-dev
eating components. If > you want a builder API for creating a component then you need to use a > component framework that works in this way. As Ray pointed out in a > previous mail chain there is the Apache Aries Component DSL. You could also > use Apache Felix Dependency Manager. >

Re: [osgi-dev] SCR API

2019-02-26 Thread Thomas Driessen via osgi-dev
er, IBM // office: +1 386 848 1781 > OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > > - Original message ----- > From: Thomas Driessen via osgi-dev > Sent by: osgi-dev-boun...@mail.osgi.org > To: "Jürgen Albe

Re: [osgi-dev] Mave archetype repository not reachable

2019-02-26 Thread Thomas Driessen via osgi-dev
Gi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > > - Original message ----- > From: Thomas Driessen via osgi-dev > Sent by: osgi-dev-boun...@mail.osgi.org > To: OSGi Developer Mail List > Cc: > Subject: [osgi-dev] Mave archetype repository not

[osgi-dev] Mave archetype repository not reachable

2019-02-26 Thread Thomas Driessen via osgi-dev
Hi, currently the repository for enroute maven archetypes, i.e., https://oss.sonatype.org/content/groups/osgi is returning 404. I assume this is not intended. Kind regards, Thomas ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] SCR API

2019-02-21 Thread Thomas Driessen via osgi-dev
declarative nature of it. You can always use the service APIs of the framework to create services. Or something like felix dependency manager. -- BJ Hargrave Senior Technical Staff Member, IBM // office: +1 386 848 1781 OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 hargr...@us

Re: [osgi-dev] ComponentServiceObjects vs ServiceObjects

2019-02-19 Thread Thomas Driessen via osgi-dev
mber of service instances from the ComponentServiceObjects you must still make sure to release instances that you create. If you fail to do this you will run out of memory. I hope this helps. Tim On 19 Feb 2019, at 13:53, Thomas Driessen via osgi-dev wrote: Hi, can someone explai

[osgi-dev] ComponentServiceObjects vs ServiceObjects

2019-02-19 Thread Thomas Driessen via osgi-dev
Hi, can someone explain to me the difference between ComponentServiceObjects and ServiceObjects and when to use which? As I get it ComponentServiceObjects are just for use within Components and are obtained vie @Reference? But why are not ServiceObjects used for this? Kind regards,

Re: [osgi-dev] SCR API

2019-02-25 Thread Thomas Driessen via osgi-dev
third party libraries interacting with DS, it’s a request for a radically different component model with some DS-like capabilities. There are already framework implementations in the world that provide what you’re looking for, just not using DS. Best Regards, Tim On 21 Feb 2019, at 18:07, T

[osgi-dev] Clarification on reference behavior regarding field injection

2019-02-16 Thread Thomas Driessen via osgi-dev
Hi, I'm trying to get an overview over the effects of different combinations of cardinality, policy and policyOption within a @Reference annotation for a field. My Example looks like this: @Component public class MyComp{ @Reference(...) ITest myTest; @Reference(...) List myTests; }

Re: [osgi-dev] Clarification on reference behavior regarding field injection

2019-02-18 Thread Thomas Driessen via osgi-dev
Thomas Driessen" ; "OSGi Developer Mail List" Cc: "Tim Ward" Gesendet: 18.02.2019 10:44:14 Betreff: Re: [osgi-dev] Clarification on reference behavior regarding field injection On Mon, Feb 18, 2019 at 9:39 AM Thomas Driessen via osgi-dev wrote: Hi Tim, as always than

Re: [osgi-dev] Clarification on reference behavior regarding field injection

2019-02-18 Thread Thomas Driessen via osgi-dev
At least one references will tend to a small number of “stable” services with new services ignored. In general references of these types should be dynamic or greedy (or both). Best Regards, Tim On 18 Feb 2019, at 09:38, Thomas Driessen via osgi-dev wrote: Oh Sorry :/ Those combinatio

Re: [osgi-dev] Clarification on reference behavior regarding field injection

2019-02-18 Thread Thomas Driessen via osgi-dev
ior regarding field injection You're chart doesn't appear to list _which_ field (Reference) was associated with any given line (collection vs. scalar). It makes a difference. - Ray On Sat, Feb 16, 2019 at 9:15 AM Thomas Driessen via osgi-dev wrote: Hi, I'm trying to get an overview over the effe

Re: [osgi-dev] Clarification on reference behavior regarding field injection

2019-02-18 Thread Thomas Driessen via osgi-dev
open an issue on Github then for bnd. Kind regards, Thomas -- Originalnachricht -- Von: "Neil Bartlett" An: "Thomas Driessen" ; "OSGi Developer Mail List" Cc: "Tim Ward" Gesendet: 18.02.2019 10:44:14 Betreff: Re: [osgi-dev] Clarification on reference behavior

Re: [osgi-dev] Clarification on reference behavior regarding field injection

2019-02-18 Thread Thomas Driessen via osgi-dev
much more interesting than the what :) I will open an issue on Github then for bnd. Kind regards, Thomas -- Originalnachricht -- Von: "Neil Bartlett" An: "Thomas Driessen" ; "OSGi Developer Mail List" Cc: "Tim Ward" Gesendet: 18.02.2019 10:44:14 Bet

Re: [osgi-dev] Programmatically creating DS components

2019-02-12 Thread Thomas Driessen via osgi-dev
t; services that may need setters or initializtion > methods. The party > that needs to make programmatically the component can grab a fresh > instance and the customize it. > Another pattern I have used is to just add configurations to ConfigAdmin. > > Hope this helps, > Todor &

Re: [osgi-dev] Aliasing OSGi DS annotations

2019-02-14 Thread Thomas Driessen via osgi-dev
> > > > On Thu, Feb 14, 2019 at 11:48 AM Tim Ward via osgi-dev < > osgi-dev@mail.osgi.org> wrote: > >> Hi, >> >> There isn’t any sort of Aliasing for DS annotations. >> >> Best Regards, >> >> Tim >> >> On 14 Feb 2019, a

[osgi-dev] Programmatically creating DS components

2019-02-10 Thread Thomas Driessen via osgi-dev
Hi, I'm currently trying to sketch out a possible better OSGi integration for Vaadin 10+. For this I need to programmatically create DS components in order to make @Route/@RouteAlias annotated classes also DS components. Right now I'm doing this via ComponentFactory and the assumption that all

Re: [osgi-dev] Programmatically creating DS components

2019-02-10 Thread Thomas Driessen via osgi-dev
L [1] (it's what is used to implement > Aries JAXRS Whiteboard). > > - Ray > > [1] https://github.com/apache/aries/tree/trunk/component-dsl > > On Sun, Feb 10, 2019 at 8:01 AM Thomas Driessen via osgi-dev < > osgi-dev@mail.osgi.org> wrote: > >> Hi, &g

Re: [osgi-dev] Programmatically creating DS components

2019-02-11 Thread Thomas Driessen via osgi-dev
l. There are plenty of good alternatives for doing this, but I would suggest looking at Apache Aries Component DSL [1] (it's what is used to implement Aries JAXRS Whiteboard). - Ray [1] https://github.com/apache/aries/tree/trunk/component-dsl On Sun, Feb 10, 2019 at 8:01 AM Thomas Driessen via

Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-01-31 Thread Thomas Driessen via osgi-dev
gt; > > Am Do., 31. Jan. 2019 um 18:03 Uhr schrieb Thomas Driessen via osgi-dev < > osgi-dev@mail.osgi.org>: > >> Hi Tim, >> >> thanks for your answer and the link. I will have a look into it :) >> >> Is there any chance that something like a mvn bnd:

Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-02-01 Thread Thomas Driessen via osgi-dev
the whole OSGi process much better. DS forever, obliterate all previous internet OSGi history :-) Regards Paul Fraser On 1/02/2019 8:43 am, Thomas Driessen via osgi-dev wrote: Hi Christian, thanks for the advice. I've done this already and it works, but is obviously not as convenien

Re: [osgi-dev] Scanning classes at runtime

2019-02-01 Thread Thomas Driessen via osgi-dev
his way you can avoid scanning bundles which can’t possibly contain relevant types. Best Regards, Tim On 23 Jan 2019, at 16:10, Thomas Driessen via osgi-dev wrote: Hi, for a project of mine I need to mimic the behavior of a ServletContainerInitializer [1], but with the dynamism of OSGi in mind.

[osgi-dev] enRoute workspace debugging

2019-02-01 Thread Thomas Driessen via osgi-dev
Hi, now that I'm using the enroute maven workspace I stumbled upon another issue. When I'm debugging and a breakpoint is hit, then Eclipse does not open the respective .java file in my project, but the java file from the target folder. Now each time I want to change breakpoints/code/etc. I

[osgi-dev] ServletContextListener not working?

2019-02-02 Thread Thomas Driessen via osgi-dev
Hi, I just tried to get a ServletContextListener to work, but did not succeed, although everything is done as defined by the spec. Here you can find a minimal example of my setup https://github.com/Sandared/io.jatoms.osgi.possiblebugs.scl The Servlet I'm registering is working fine, but the

Re: [osgi-dev] ServletContextListener not working?

2019-02-02 Thread Thomas Driessen via osgi-dev
tListener in my example. > > http://blog.vogella.com/2017/04/20/access-osgi-services-via-web-interface/ > > Maybe it helps in finding the cause. > > Are you using the http whiteboard pattern and did you set the required > component property? > > Greez, > Dirk > >

Re: [osgi-dev] enRoute workspace debugging

2019-02-02 Thread Thomas Driessen via osgi-dev
e. >> Paul >> >> >> On 2/02/2019 3:54 am, Thomas Driessen via osgi-dev wrote: >> >> Hi, >> >> now that I'm using the enroute maven workspace I stumbled upon another >> issue. >> >> When I'm debugging and a breakpoint is hit, then Ecli

Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-01-31 Thread Thomas Driessen via osgi-dev
ard" An: "Thomas Driessen" ; "OSGi Developer Mail List" Gesendet: 31.01.2019 16:48:54 Betreff: Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace Hi On 31 Jan 2019, at 15:22, Thomas Driessen via osgi-dev wrote: Hi, I'm currently trying to get used

[osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-01-31 Thread Thomas Driessen via osgi-dev
Hi, I'm currently trying to get used to the new enroute maven workspace layout and now have some questions :) 1) In a bnd workspace I had the central.xml file where I put all the dependencies I wanted in my local maven bnd worspace repository. Where do I put those dependencies now in the

Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace

2019-01-31 Thread Thomas Driessen via osgi-dev
-- Originalnachricht -- Von: "Tim Ward" An: "Thomas Driessen" ; "OSGi Developer Mail List" Gesendet: 31.01.2019 16:48:54 Betreff: Re: [osgi-dev] Move from bnd workspace to maven (enroute) workspace Hi On 31 Jan 2019, at 15:22, Thomas Driessen via osgi-dev

[osgi-dev] enRoute Project archetype not working correctly?

2019-02-04 Thread Thomas Driessen via osgi-dev
Hi, I just used the enRoute project archetype and this one does generate two subfolders named __app-artifactId__ and __impl-artifactId__. When I now import this project from git in another Eclipse Instance, Eclipse complains about missing child modules example.app/example.impl which are the

[osgi-dev] OSGi Vaadin 10+ Integration

2019-02-05 Thread Thomas Driessen via osgi-dev
Hi, this is just an information for those of you who are interested in using Vaadin and OSGi together. Although Vaadin is making V10+ OSGi compatible (adding manifests, using BundleTracker instead of ServletContainerInitializer, etc.) they do not yet have integrated Declarative Services as

Re: [osgi-dev] enRoute Project archetype not working correctly?

2019-02-05 Thread Thomas Driessen via osgi-dev
ible that if you used an old version of the archetype plugin that it failed to correctly rename the folder based on the template variable value. Best Regards, Tim On 4 Feb 2019, at 12:13, Thomas Driessen via osgi-dev wrote: Hi, I just used the enRoute project archetype and this one does