Re: IPOJO Interface Issues

2012-10-19 Thread Göktürk Gezer
Hi, Could you share your generated manifest files (MANIFEST.MF) for both API and implementation bundles? In the mean time you could try to add your ICoreService's package name to implementation bundle's import section manually if it's not already there. Regards, Göktürk On Oct 20, 2012 2:37 AM,

Re: (iPOJO) NPE when injecting BundleContext and @Requires in constructor

2012-10-17 Thread Göktürk Gezer
Hi Anthony, In case you're not watching the JIRA, It's fixed and I'm waiting for your confirmation... *Regards,* *Göktürk* On Wed, Oct 17, 2012 at 3:24 PM, Anthony Bargnesi wrote: > Thanks Clement. I couldn't re-open the issue with my account. At least I > couldn't find where > to re-open th

Re: Getting Started with iPOJO

2012-10-12 Thread Göktürk Gezer
t;> l > >>>iPOJO-Components: component { $classname="cook.michael.BogusClass" man > >>> ipulation { method { $name="$init" }}} > >>>Built-By: clement > >>>Tool: Bnd-0.0.249 > >>>Bundle-Name: Apache Fel

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
>>along > >> >>its way with annotations. > >> > >> > >> I added a bogus class into the cook.michael package and put the > >> @Component/@Instantiate/@Validate/@Invalidate back into the code. Then > >> added this component to the metad

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
veloping atop Felix, because the target device is Felix based, so I > would like to keep it on the same platform. > > > Thank you for your help. > Mike > > > On 10/11/12 9:47 PM, "Göktürk Gezer" wrote: > > >On Fri, Oct 12, 2012 at 4:25 AM, Cook, Michael J.

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
Equinox launcher. I suggest you to have a look at http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.html where you can see basic setup.(You can use annotations or metadata of your choice in this setup) Gokturk > > Mike > > > > On 10/11/12 8:54 PM, "Göktürk G

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
> Bundle-DocURL: http://felix.apache.org/site/how-to-use-ipojo-annotatio > ns.html > Import-Package: org.osgi.service.log;version=1.3, org.apache.felix.ipo > jo.handler.temporal, org.apache.felix.ipojo.transaction, org.apache.f > elix.ipojo.architecture;version=0.9.0, org.apache.felix.i

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
Sent: Thursday, October 11, 2012 05:47 PM > To: 'users@felix.apache.org' > Subject: Re: Getting Started with iPOJO > > I used @validate/@invalidate alone. > > Mike > > Michael Cook > VP Technology Innovation > Comcast > One Comcast Center > Philadelphia, P

Re: Getting Started with iPOJO

2012-10-11 Thread Göktürk Gezer
Hi, I need to ask this first since it's not on your code snippet: Did you use @Component annotation for class where you've declared your start() stop() methods? Or did you use @Validate,@Invalidate alone? *Regards,* *Gokturk* On Thu, Oct 11, 2012 at 8:13 PM, Cook, Michael J. (OCTO) < michael_j_

Re: iPOJO & Config Admin

2012-08-02 Thread Göktürk Gezer
Hi, iPOJO's updated method is called for iPOJO managed properties. Non-matching properties are propagated to services published by iPOJO instance as service properties. To catch all properties published by ConfigAdmin, you should rather try to register your own ManagedService interface in your co

Re: Build exception thrown by maven-ipojo-plugin 1.8.2

2012-07-09 Thread Göktürk Gezer
Hi, Can you share your POM ? On Mon, Jul 9, 2012 at 8:58 PM, Mark Bools wrote: > When building with maven-ipojo-plugin:1.8.2 I get the following exception > when doing a mvn clean install > > [ERROR] Failed to execute goal > org.apache.felix:maven-ipojo-plugin:1.8.2:ipojo-bundle (default) on pro

Re: iPOJO Maven Plugin throwing exception

2012-07-02 Thread Göktürk Gezer
Hi, On Mon, Jul 2, 2012 at 2:00 PM, Mark Bools wrote: > Just dropped the 1.8.4 manipulator in, rebuilt and got the following: > EXPAND_FRAMES bug is fixed in trunk if i recall correctly. Compiling the latest version from the trunk might help you. > > [ERROR] Failed to execute goal > org.apache.f

Re: How to get the ComponentInstance from the instance.name attribute?

2012-06-13 Thread Göktürk Gezer
On Wed, Jun 13, 2012 at 4:32 PM, fabiolf wrote: > Hi Göktürk, > > > Göktürk Gezer wrote > > > > You can also use filtering on your Archtitecture requirement like > > "(architecture.instate=your_instance_name)". > > Then only your intended instan

Re: How to get the ComponentInstance from the instance.name attribute?

2012-06-13 Thread Göktürk Gezer
Hi, On Tue, Jun 12, 2012 at 11:22 PM, fabiolf wrote: > > clement escoffier wrote > > > > Hi, > > > > It depends what you want to do with the instance. > > > > For now I just want to know its status. > > > clement escoffier wrote > > > > If 'reading' metadata is enough, then use the Architecture

Re: IPojo FactoryStateListener doesn't get notified while stopping factory

2012-05-15 Thread Göktürk Gezer
I will try > > to > > > have a look asap. Hopefully I would get a better connectivity soon. > > > > > > There is also another bug (about method Id computation) that I need to > > > check. > > > > > > Those two bugs would to sufficient to cut

Re: Cyclical dependencies in iPOJO

2012-05-14 Thread Göktürk Gezer
Hi, Your specific situation is supported. I can't talk for other situations without knowing further description though. On Tue, May 15, 2012 at 8:38 AM, Alexey Romanov wrote: > Does iPOJO support circular dependencies between components within one > bundle? Specifically, I am interested in a sit

Re: IPojo FactoryStateListener doesn't get notified while stopping factory

2012-05-14 Thread Göktürk Gezer
around of course, but this is the one i'm favoring, unfortunately it has that tiny bug in trunk. > > On Mon, May 14, 2012 at 6:50 PM, Göktürk Gezer wrote: > > Hi, > > > > Even if its a tiny bug, we are going on with patched IPojo runtimes right > > now. It'd

Re: IPojo FactoryStateListener doesn't get notified while stopping factory

2012-05-14 Thread Göktürk Gezer
Hi, Even if its a tiny bug, we are going on with patched IPojo runtimes right now. It'd be good if it goes into IPojo runtime 1.8.2 ,if possible. Thanks, Gokturk On Thu, May 10, 2012 at 4:01 AM, Göktürk Gezer wrote: > Hi, > > I wish to use FactoryStateListener to track IPojo Fa

IPojo FactoryStateListener doesn't get notified while stopping factory

2012-05-09 Thread Göktürk Gezer
Hi, I wish to use FactoryStateListener to track IPojo Factories once i get their reference through ServiceTracker. All is well except when stopping/uninstalling bundle of some IPojo component, FactoryStateListener references don't get notified. Further info at FELIX-3501

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-14 Thread Göktürk Gezer
at's right. > --G > > 2012/4/12 Göktürk Gezer > > > On Thu, Apr 12, 2012 at 12:28 PM, Guillaume Sauthier (Objectweb) < > > guillaume.sauth...@objectweb.org> wrote: > > > > > 2012/4/12 Göktürk Gezer > > > > > >

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-12 Thread Göktürk Gezer
On Thu, Apr 12, 2012 at 12:28 PM, Guillaume Sauthier (Objectweb) < guillaume.sauth...@objectweb.org> wrote: > 2012/4/12 Göktürk Gezer > > > Hi, > > > > On Thu, Apr 12, 2012 at 11:50 AM, Guillaume Sauthier (Objectweb) < > > guillaume.sauth...@o

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-12 Thread Göktürk Gezer
ght ? > Yeah it should have and i tried it already, but it didn't work for some reason. Maybe i'm doing something wrong ! > --G > > 2012/4/12 Göktürk Gezer > > > Hi Guillaume, > > > > I looked further into it and, unfortunately it is not manipulating the >

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-12 Thread Göktürk Gezer
Hi Guillaume, I looked further into it and, unfortunately it is not manipulating the classes. But it is a more polished approach. I'll look into ipojo-bnd-plugin to see if its possible. More pointers are welcomed. Regards, Gokturk On Thu, Apr 12, 2012 at 12:02 PM, Göktürk Gezer wrote:

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-12 Thread Göktürk Gezer
Hi, On Thu, Apr 12, 2012 at 11:25 AM, Clement Escoffier < clement.escoff...@gmail.com> wrote: > Hi, > > On 11.04.2012, at 18:31, Göktürk Gezer wrote: > > > Hi Clement, > > > > > >>> Question is, in which shape we should integrate that facility

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-12 Thread Göktürk Gezer
st > > > > > > org.apache.felix > bnd-ipojo-plugin > 1.8.4 > > > > > > Hope that helps > --G > Regards, Gokturk > > > 2012/4/12 Clement Escoffier > > > Hi, > > &g

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-11 Thread Göktürk Gezer
Hi Clement, > > Question is, in which shape we should integrate that facility into maven > > build: > > * A new goal for directoryManipulation for use in 'compile' phase > > * A new boolean property for ipojo-bundle goal to unpack manipulated > > content into project folder > > * Modification of

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-10 Thread Göktürk Gezer
Hi, On Tue, Apr 10, 2012 at 11:48 AM, Clement Escoffier < clement.escoff...@gmail.com> wrote: > Hi, > > On 07.04.2012, at 14:04, Göktürk Gezer wrote: > > > Hi again, > > > > I deployed external builders but, for %100 consistency with maven and > > eclip

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-07 Thread Göktürk Gezer
ownload the project template here: > http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.data/MyiPOJOBundle-1.4.2.zip > > The page > http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.htmlgives > you some details. > > Regards, > > Clement

Re: IPojo manipulated bundle not synched with project folder contents

2012-04-05 Thread Göktürk Gezer
; http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.htmlgives > you some details. > > Regards, > > Clement > > On 04.04.2012, at 16:06, Göktürk Gezer wrote: > > > Hi Everyone, > > > > We're using IPojo inside some Eclipse Plugin projec

IPojo manipulated bundle not synched with project folder contents

2012-04-04 Thread Göktürk Gezer
Hi Everyone, We're using IPojo inside some Eclipse Plugin project for Eclipse itself. Problem is: IPojo manipulates the classes and generate new MANIFEST.MF file with IPojo-Components contents. No problem with generated bundle but while debugging, Eclipse picks the MANIFEST.MF in [PROJECT]/META-

Letting Custom IPojo Handlers to add extra information to ComponentTypeDescription

2012-01-28 Thread Göktürk Gezer
Hi, I was wondering if it is possible to embed some extra information into ComponentTypeDescription, in some custom IPojo Handler's initComponentFactory() method. ComponentTypeDescription has fields and methods for core handlers to externalize their informations, but there is no way for custom han

Re: Retrieving generic type information of properties of IPojo components

2012-01-17 Thread Göktürk Gezer
a 'content-type' > attribute, or you can develop your own custom handler handling such properties. > I already developed one. I needed to get Property's 'description' too. I couldn't ask you for adding 2 attributes :) Regards, Göktürk > > Regards, >

Retrieving generic type information of properties of IPojo components

2012-01-12 Thread Göktürk Gezer
Hi Guys, We are developing a component management system for ApacheDS using IPojo. We will be able to manage certain component types within ApacheDS by LDAP entries. We are mapping IPojo component's properties to Ldap attributes in runtime using ConfigurationHandlerDescription of component. For p

Re: Instantiating Manipulated Class without IPojo

2011-10-19 Thread Göktürk Gezer
Hi Clement, On Wed, Oct 19, 2011 at 5:06 PM, Clement Escoffier < clement.escoff...@gmail.com> wrote: > Hi, > > On 19.10.2011, at 05:21, Göktürk Gezer wrote: > > > Hi Everyone, > > > > We're in the middle of moving our codebase to OSGI using IPojo. Pr

Re: Instantiating Manipulated Class without IPojo

2011-10-19 Thread Göktürk Gezer
On Wed, Oct 19, 2011 at 11:02 AM, Karl Pauls wrote: > Can you show your maven pom maybe? > > regards, > > Karl > > This pom belongs to project which exposes some of its classes using @Component@Provides .. .. commons-c

Re: Instantiating Manipulated Class without IPojo

2011-10-19 Thread Göktürk Gezer
Hi Karl, On Wed, Oct 19, 2011 at 9:38 AM, Karl Pauls wrote: > iirc, all you need to do is to have iPOJO on the classpath. > That was the first thing i tried, but unfortunately it didn't save me . > > regards, > > Karl > > On Wed, Oct 19, 2011 at 5:21 AM, Göktürk Ge

Re: Instantiating Manipulated Class without IPojo

2011-10-18 Thread Göktürk Gezer
Hi, I forgot to mention why i couldn't instantiate. Maven says, "cannot access org.apache.felix.ipojo.InstanceManager [ERROR] class file for org.apache.felix.ipojo.InstanceManager not found." at the point where i try to instantiate through constructor. Regards, Gokturk

Instantiating Manipulated Class without IPojo

2011-10-18 Thread Göktürk Gezer
Hi Everyone, We're in the middle of moving our codebase to OSGI using IPojo. Problem is, I can not instantiate the manipulated classes without IPojo. AFAIK, IPojo manipulates the constructors with no argument and BundleContext argument. So we can use other constructors for instance creation witho