Re: Silently failing declarative services?

2016-08-01 Thread Simon Chemouil
list+org.apache.fe...@io7m.com a écrit le 01/08/2016 18:16 : > I don't see a compiled bundle anywhere, only source code. Is there one > available, or do I need to build it? http://felix.apache.org/downloads.cgi or straight from Maven Central. It's also good to have an implementation of Metatype

Aspecio, an aspect framework for OSGi r6

2016-05-20 Thread Simon Chemouil
(hijacking this Felix ML for a community announcement since I believe it is the one place where most OSGi devs gather) -- Aspecio[1] (prounounced 'aspekio) is an aspect framework designed and written from scratch to be OSGi compli

Re: [SCR] Selecting services without giving a service interface

2016-04-08 Thread Simon Chemouil
g the model further by allowing something else than Object to be as a parameter when using "ignoreInterface". Hope this makes sense, Simon > >> On Apr 8, 2016, at 6:23 AM, Simon Chemouil wrote: >> >> Hi, >> >> For the record I have had the same need

Re: [SCR] Selecting services without giving a service interface

2016-04-08 Thread Simon Chemouil
Hi, For the record I have had the same need as Jens in the past. As Neil suggested, I ended up using a ServiceTracker but this is a pity. BJ recently talked about a DS spec update. I have a few ideas (in-component control of service registration for one, to support asynchronous activations better

Re: Maven-bundle-plugin > 2.5.3 and Ipojo Maven Plugin

2015-09-23 Thread Simon Chemouil
Well, it works just fine with the staged version mbp 3.0.0. Should have started there :-) Cheers, Simon Le 23/09/2015 11:26, Simon Chemouil a écrit : > Hi, > > Since version 2.5.4, maven-bundle-plugin has changed its behaviour and > using the ipojo-maven-plugin with it doesn&#x

Maven-bundle-plugin > 2.5.3 and Ipojo Maven Plugin

2015-09-23 Thread Simon Chemouil
Hi, Since version 2.5.4, maven-bundle-plugin has changed its behaviour and using the ipojo-maven-plugin with it doesn't work anymore. I'm using maven 3.3.3 and the settings that work fine with mbp 2.5.3 fail using 2.5.4. org.apache.maven.plugin.MojoExecutionException: The input file /home/git/ba

Re: Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-20 Thread Simon Chemouil
2, Clement Escoffier (clement.escoff...@gmail.com) > wrote: > > Hi, > > Guillaume would be more precise, but it might be > https://issues.apache.org/jira/browse/FELIX-4668. > Will try to have a look over the weekend. > > Cheers, > > Clement > On 17

Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-17 Thread Simon Chemouil
Hey, I'm looking to use a manipulation-time iPojo extension module (wisdom-ipojo-module) with the Bnd iPojo plugin from Maven... and the Pojoization BND plugin can't seem to find wisdom-ipojo-module. I checked the build output with -X, Maven does pass the iPojo extension to BND along with the iPoj

Re: iPojo with M2Eclipse

2012-12-04 Thread Simon Chemouil
On Mon, Nov 12, 2012 at 9:44 AM, Guillaume Sauthier (Objectweb) wrote: > Maybe you could provide a special M2E Configurator that could enable the > ipojo nature (and this the builder) when any ipojo marker is found. > In a way that's abusing the M2EConfigurator, because you do not execute any > ma

iPojo with M2Eclipse

2012-11-09 Thread Simon Chemouil
Hi again :-) I'm trying to get iPojo working better with M2E, notably getting the classes manipulated by the Maven Builder as I modify them. There was a thread[1] a few months ago with a proposed approach updating maven-ipojo-plugin and that ended suggesting the use of the bnd-ipojo-plugin instea

Re: Creating annotated components programmatically with iPojo API

2012-11-09 Thread Simon Chemouil
ache.org/site/how-to-use-ipojo-factories.html. > > Regards, > > Clement > > On 8 nov. 2012, at 18:04, Simon Chemouil wrote: > >> Hi, >> >> I'm trying to define iPojo components programmatically using the API, >> and have the component class use

Creating annotated components programmatically with iPojo API

2012-11-08 Thread Simon Chemouil
Hi, I'm trying to define iPojo components programmatically using the API, and have the component class use iPojo annotations (I am trying to bridge another extension mechanism so I can keep using iPojo semantics there). I'm defining my component this way: PrimitiveComponentType type = new Primit

Re: Getting Started with iPOJO

2012-10-12 Thread Simon Chemouil
; One Comcast Center > Philadelphia, PA 19103 > (o) 215-286-8260 > (m) 609-458-0332 > > - Original Message - > From: Simon Chemouil [mailto:schemo...@gmail.com] > Sent: Friday, October 12, 2012 08:34 AM > To: users@felix.apache.org > Subject: Re: Getting Started wi

Re: Getting Started with iPOJO

2012-10-12 Thread Simon Chemouil
Michael, It seems like you are using an antique version of iPojo. The import you show in your manifest is 0.9.0 and the last release is 1.8.2 (that import is added by the manipulator). In an earlier message you said you were using the Eclipse plugin available on Clement's website. This plugin is

iPojo's next release?

2012-09-07 Thread Simon Chemouil
Hi, There is a bug fix in iPojo's trunk for https://issues.apache.org/jira/browse/FELIX-3539 that seems to hit us most of the time we build our components. The bug has been fixed 9 months ago and discussed here already. In JIRA it is marked as fixed for release 1.8.6 which has not been officially

Re: Can't find SCR commands in Gogo

2012-04-06 Thread Simon Chemouil
Hi Peter, Gogo commands for Felix SCR were added in 1.6.2 (not released). You're using 1.6.0, so to use them you will have to use the old Felix shell. You will have to get SCR from trunk to use the shell commands in Gogo. Simon On Fri, Apr 6, 2012 at 9:23 AM, Peter Nerg wrote: > > Ok, I was pe

Re: Same package from different bundles

2011-12-08 Thread Simon Chemouil
On Thu, Dec 8, 2011 at 5:53 PM, cmoulliard wrote: > So we have the package x.y.z exposed by bundle A and package x.y.z exposed > by bundle B. In the bundle C, I would like to retrieve ALL the classes > coming from package x.y.z of bundle A and B. As far as I understood, you are experiencing what

Re: Alternative to Tycho using Felix

2011-04-14 Thread Simon Chemouil
Hi Benoït, One way to deal with this is to use the maven-bundle-plugin (a Felix subproject) to build your bundles and simply use a Maven assembly (using the maven assembly plugin) to generate your distributions. It is straightforward to generate an archive or a directory that will contain your bun

Re: NoClassDefFoundError when embedding felix

2011-04-04 Thread Simon Chemouil
Hi, Any reason you're not using the standard way to embed OSGi containers as nicely described there: http://njbartlett.name/2011/03/07/embedding-osgi.html ? Or are you stuck with a Java version anterior to 1.6? Regarding the NCDFE, the error you have says some bundle is trying to load apache.comm

Re: Dependency on javax.naming.Referenceable

2011-02-28 Thread Simon Chemouil
Hi, You have to make that bundle import javax.naming in Import-Package. All packages not in java.* have to be explicitly imported in the manifest if you want to use them. My guess is that you used PDE to create your manifest, and unfortunately it doesn't show errors on missing JRE package imports

Re: $(maven-symbolicname) property not working in maven bnd plugin

2011-02-25 Thread Simon Chemouil
Hi, $(maven-symbolicname) is computed by maven-bundle-plugin so it's available only in phases where the plugin is active (e.g, package). Hope this helps, Simon On Fri, Feb 25, 2011 at 5:46 PM, Raja Kannappan wrote: > I tried all possible combinations - $(maven-symbolicname), > ${maven-symbol

Re: XMLParserActivator

2011-02-12 Thread Simon Chemouil
On Sat, Feb 12, 2011 at 4:37 PM, Per-Erik Svensson wrote: > > Hi all, > > I was wondering how to use the XMLParserActivator. I cant seem to find any > information about how it works. First of all, we bundle felix into our own > application and supply some "base/core" bundles to the framework (star