RE: Felix bundle repository does not consider bundle relationships

2009-11-12 Thread Niels B Nielsen
Hi, I was my impression that if you do not specify a particular version, it would resolve to the newest available version, which would make the below situation correct. But am I fundamentally wrong about the semantic meaning of no specification? /Niels -Original Message- From: Hehe [m

Re: Felix bundle repository does not consider bundle relationships

2009-11-12 Thread Richard S. Hall
Could you open up a JIRA issue and attach a repository.xml that recreates the issue? -> richard On 11/12/09 6:58, Hehe wrote: Hi, I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. The bundle bundle1 does not specify the version of bundle3, while the bundle2 specifies t

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Guido Spadotto
Mustafa Caylak wrote: This is no Customer Service, so you'll have to do some homework. Read [1], slide 18 and following, read [2], slide 19 for an example of annotated class. [1]: http://www.slideshare.net/cziegeler/maven-scr-plugin [2]: http://www.slideshare.net/bdelacretaz/tales-from-the-o

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Mustafa Caylak
This is no Customer Service, so you'll have to do some homework. Read [1], slide 18 and following, read [2], slide 19 for an example of annotated class. [1]: http://www.slideshare.net/cziegeler/maven-scr-plugin [2]: http://www.slideshare.net/bdelacretaz/tales-from-the-osgi-trenches Yes, you'r

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Guido Spadotto
Mustafa Caylak wrote: Hi, I know that I can set the name of the xml-file. I was just too lazy :) The problem could be that there is no a directory like /target/scr-plugin-generated/OSGI-INF. Does it mean that no descriptor.xml is generated? I'm a bit confused. Where do I use the annotations?

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Mustafa Caylak
Hi, I know that I can set the name of the xml-file. I was just too lazy :) The problem could be that there is no a directory like /target/scr-plugin-generated/OSGI-INF. Does it mean that no descriptor.xml is generated? I'm a bit confuesed. Where do I use the annotations? Aren't they the same

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Guido Spadotto
Mustafa Caylak wrote: Hello Guido, I've used your suggestion, but the only output I got is: [ERROR] Error building bundle de.offis.utils.configSC:configSC:bundle:1.0-SNAPSHOT : Service-Component entry can not be located in JAR: OSGI-INF/Locator.xml Of course I renamed my xml-file to Locator.

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-11-12 Thread Mustafa Caylak
Hello Guido, I've used your suggestion, but the only output I got is: [ERROR] Error building bundle de.offis.utils.configSC:configSC:bundle:1.0-SNAPSHOT : Service-Component entry can not be located in JAR: OSGI-INF/Locator.xml Of course I renamed my xml-file to Locator.xml. What do your Locat

Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-12 Thread Jeremias Maerki
Good point. This may get unsuitable for the user list. I think we could switch to d...@felix.apache.org, if nobody objects (I've just subscribed). I'm sure this is not off-topic for that list, especially if maybe something useful will result for Felix. If you have a better suggestion, I'm all ears.

Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-12 Thread lukewpatterson
Jeremias Maerki-2 wrote: > > Looks like we really have to find one good solution for everyone. > Otherwise, everyone will continue to find a solution for themselves... > Agreed. Where is the best place to continue this discussion? I want to make sure the discussion is archived and open, but

Felix bundle repository does not consider bundle relationships

2009-11-12 Thread Hehe
Hi, I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. The bundle bundle1 does not specify the version of bundle3, while the bundle2 specifies to need bundle3 with version 1.0. In my repository, I have two versions of bundle3, version 1.0 and version 2.0. I put them thro

Re: javax.xml.bind classes (JDK 1.6) - Apache Felix Karaf 1.0.0 - Apache CXF 2.2

2009-11-12 Thread Guillaume Nodet
The reason is that the system bundle exports (or does not export) the pacakge, depending if you're on jdk 1.5 or 1.6. This is configured in the etc/config.properties file, and I would think the best way would be to simply remove this package from the list and do not let the system bundle export thi

Re: Launching Felix 2.0

2009-11-12 Thread Karl Pauls
Is it possible that you forgot to remove felix 2.0.0 from the classpath? regards, Karl On Thu, Nov 12, 2009 at 3:01 AM, Nikita Sawant wrote: > Hi Richard, > > Now I am using Framework 2.0.2, I get this exception: > > ERROR: Unable to start system bundle. (java.lang.NoClassDefFoundError: > org.o