Re: Comma-containing property values

2010-08-12 Thread Felix Meschberger
Hi, On 13.08.2010 08:10, Victor Antonovich wrote: > Hello! > > Is there any way to have properties with commas? For example: > > @Property(name = RemoteUserReplicationComponent.PROPERTY_LDAP_BIND_DN, > label = "%component.ldap.bind.dn.label", > description = "%component.l

Comma-containing property values

2010-08-12 Thread Victor Antonovich
Hello! Is there any way to have properties with commas? For example: @Property(name = RemoteUserReplicationComponent.PROPERTY_LDAP_BIND_DN, label = "%component.ldap.bind.dn.label", description = "%component.ldap.bind.dn.description", value="uid=admin,ou=system

Re: OSGi Enterprise jar

2010-08-12 Thread Felix Meschberger
Hi, IIRC this is a copy of an old version of the Compendium library. Nowadays, the libraries available from the OSGi site are deployed to the maven repository, e.g. http://repo2.maven.org/maven2/org/osgi/org.osgi.compendium/ I suggest you go for these. Yet, it looks like the enterprise library i

OSGi Enterprise jar

2010-08-12 Thread Christanto Leonardo
Hi, I notice that Felix has OSGi Compendium jar (see http://mvnrepository.com/artifact/org.apache.felix/org.osgi.compendium). Any plan to include OSGi Enterprice jar? Cheers, Christanto

Re: What does the artefactId in Felix' POM files mean ?

2010-08-12 Thread Guo Du
On Thu, Aug 12, 2010 at 11:13 PM, wrote: > Maven is used to build felix framework - so far so good > > BUT why are many bundles in Felix part of maven or s.th. like plugins - I > > What does the "maven-bundle-plugin" should tell me ? > You may think maven-bundle-plugin as a jar task in ant, it g

What does the artefactId in Felix' POM files mean ?

2010-08-12 Thread T . Franke
Just a question hopefully to understand Felix, Maven and POM... interaction I thought maven is s.th. like ANT in principle and can be extended via plugins - so far so good Maven is used to build felix framework - so far so good BUT why are many bundles in Felix part of maven or s.th. like plugi

Re: Problem with import org.osgi.service.log.LogService

2010-08-12 Thread Justin Edelson
You need to add the compendium as a dependency in the pom file. Justin On Aug 12, 2010, at 12:39 PM, Thomas Carsten Franke wrote: > Hi, > > I'm new with OSGI and Felix and tried to use one of the example bundles > painting shapes and try around with them e.g. adding logging to come > familar

Re: @requires with late-binding headaches

2010-08-12 Thread Clement Escoffier
On 12.08.2010, at 16:50, mhutton86 wrote: > > Hi Clement and also Richard, > > I was able to remove @Requires, I was already populating my own list luckily > so removing the @Requires array didn't break a thing. > > I did have to set the aggregate option to true in the bind annotation > eg: @B

Problem with import org.osgi.service.log.LogService

2010-08-12 Thread Thomas Carsten Franke
Hi, I'm new with OSGI and Felix and tried to use one of the example bundles painting shapes and try around with them e.g. adding logging to come familar with OSGI and Felix. Following problem I can't solve when I try to import the log package from OSGI: D:\temp\sources\felix_trunc\examples\servi

Re: @requires with late-binding headaches

2010-08-12 Thread mhutton86
Hi Clement and also Richard, I was able to remove @Requires, I was already populating my own list luckily so removing the @Requires array didn't break a thing. I did have to set the aggregate option to true in the bind annotation eg: @Bind(aggregate=true, id="tidgets") because I would only have

Re: Re : Installing a bundle

2010-08-12 Thread Steven Siebert
Great link, thanks! On Thu, Aug 12, 2010 at 3:40 AM, Petr Jiricka wrote: > On Aug 11, 2010, at 5:56 PM, Steven Siebert wrote: > > Netbeans also has some OSGi support (it uses Ant in the back end). I >> haven't yet tested the limits, as I am just starting out myself...but you >> might find this

Re: Question

2010-08-12 Thread Petr Jiricka
On Aug 12, 2010, at 8:59 AM, Charles Moulliard wrote: Alternative is to create manually maven projects (or with the help of Eclipse GUI tool) and add the following plugin http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html to generate the manifest + jar when running the comm

Re: Re : Installing a bundle

2010-08-12 Thread Petr Jiricka
On Aug 11, 2010, at 5:56 PM, Steven Siebert wrote: Netbeans also has some OSGi support (it uses Ant in the back end). I haven't yet tested the limits, as I am just starting out myself...but you might find this helpful/interesting: There are actually several ways to work with OSGi in NetBea

Re: @requires with late-binding headaches

2010-08-12 Thread Clement Escoffier
Hi, On 11.08.2010, at 19:17, mhutton86 wrote: > > I have a service that I require > > @Requires(optional=true, id="tidget_devices", filter="(!(serviceName=file > reader))") > private TidgetSaasmDevice[] initialTidgets; > > but these TidgetSaasmDevices are not ready off the bat, and have to be