RE: Tutorial/Example on Felix/OSGi

2012-07-26 Thread Barbara Rosi-Schwartz
Hi Ufuk. Have you tried the traditional paint application (http://felix.apache.org/site/apache-felix-application-demonstration.html )? It was built specifically to demonstrate Felix and it is very simple to grasp. Unfortunately for you, however, the sample code uses Maven. HTH, B. -Origin

RE: Including generated packages in wrapped bundle

2012-03-20 Thread Barbara Rosi-Schwartz
I answered my own question: just execute the maven generation plugin that is utilised in the third party project before executing the maven bundle plugin. Thanks anyway, B. -Original Message- From: Barbara Rosi-Schwartz [mailto:barbara.rosi-schwa...@iggroup.com] Sent: 20 March 2012 13

Including generated packages in wrapped bundle

2012-03-20 Thread Barbara Rosi-Schwartz
get my wrapper bundle to include that specific package. I have tried a combination of various configurational approaches , but no success so far. Does anybody have any idea on what instructions I need to give to the Maven bundle plugin? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group

RE: Class not found, export only error with bundle generated with Maven Bundle Plugin

2012-03-02 Thread Barbara Rosi-Schwartz
http://romjethoughts.blogspot.com OSGi book available now!!! 2012/3/2 Barbara Rosi-Schwartz : > Yes, Virgo does come with a LogService, but I can see no interesting > information. And I do use dependency injection, but provided by > SpringDM/Gemini blueprint, which is also available with Virgo out of the b

RE: Class not found, export only error with bundle generated with Maven Bundle Plugin

2012-03-02 Thread Barbara Rosi-Schwartz
://romjethoughts.blogspot.com OSGi book available now!!! 2012/3/2 Barbara Rosi-Schwartz : > Thanks Jerome. > > I already have quite a good console, the one provided by Virgo! ;-) > > -Original Message- > From: jerome moliere [mailto:jerome.moli...@gmail.com] > Sent: 02 March 2012 11:00 > To

RE: Class not found, export only error with bundle generated with Maven Bundle Plugin

2012-03-02 Thread Barbara Rosi-Schwartz
the class in question can find all its dependencies? > > regards, > > Karl > > On Fri, Mar 2, 2012 at 11:43 AM, Barbara Rosi-Schwartz > wrote: >> Hi. >> >> I am generating a bundle from a third party jar using the Maven Bundle >> plugin. When I look

RE: Class not found, export only error with bundle generated with Maven Bundle Plugin

2012-03-02 Thread Barbara Rosi-Schwartz
that the class in question can find all its dependencies? regards, Karl On Fri, Mar 2, 2012 at 11:43 AM, Barbara Rosi-Schwartz wrote: > Hi. > > I am generating a bundle from a third party jar using the Maven Bundle > plugin. When I look at the contents of the jar, I can see that

Class not found, export only error with bundle generated with Maven Bundle Plugin

2012-03-02 Thread Barbara Rosi-Schwartz
g with the configuration of the Maven Bundle plugin to produce such an oddity? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group|Cannon Bridge House 25 Dowgate Hill|London|EC4R ZYA t: +44(0)20 7573 0208 (Direct) t: +44(0)20 7896 0011 (Switchboard) w: www.i

RE: How to embed jar into a bundle?

2012-02-29 Thread Barbara Rosi-Schwartz
Rice, It is possible to keep the packaging as jar, please see http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html , section " Adding OSGi metadata to existing projects without changing the packaging type". HTH, B. -Original Message- From: Dileepa Jayakody [mailto:di

RE: generation of import-pacakge for packages in non-java files

2011-12-16 Thread Barbara Rosi-Schwartz
Hi Kamal. Have you tried using the Include-Resource clause? HTH, B. -Original Message- From: Kamalakannan CM [mailto:kamalthero...@gmail.com] Sent: 16 December 2011 00:08 To: users@felix.apache.org Subject: generation of import-pacakge for packages in non-java files Hi All, we are usin

Split package problem with maven bundle plugin

2011-12-05 Thread Barbara Rosi-Schwartz
|first) on Export/Private Package instruction to get rid of this warning I have been using the plugin for a little while now and this is the first time I see this warning. What am I doing wrong? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group|Cannon Bridge House 25 Dowgate Hill|London

RE: Embed-Dependency problem with Maven Bundle plugin

2011-11-30 Thread Barbara Rosi-Schwartz
undle containing all of their third-party library dependencies; at least they can then apply OSGi modularity to their own application code. Regards, Neil On Wed, Nov 30, 2011 at 11:19 AM, Barbara Rosi-Schwartz wrote: > Thanks Stuart, very clear explanation. > > The problem I am facing

RE: Embed-Dependency problem with Maven Bundle plugin

2011-11-30 Thread Barbara Rosi-Schwartz
Maven Bundle plugin What are the project dependencies? Justin On Nov 29, 2011, at 7:09 AM, Barbara Rosi-Schwartz wrote: > Hello. > > I am using Maven Bundle plugin version 2.3.5 and I am having a problem > with it. If I use the > > *;scope=compile|runtime;inline=false cy

RE: Embed-Dependency problem with Maven Bundle plugin

2011-11-30 Thread Barbara Rosi-Schwartz
@felix.apache.org Subject: Re: Embed-Dependency problem with Maven Bundle plugin On 29 Nov 2011, at 12:09, Barbara Rosi-Schwartz wrote: > Hello. > > I am using Maven Bundle plugin version 2.3.5 and I am having a problem > with it. If I use the > > *;scope=compile|runtime;inline=false cy

Embed-Dependency problem with Maven Bundle plugin

2011-11-29 Thread Barbara Rosi-Schwartz
quot; did not match any dependencies [WARNING] Embed-Dependency: clause "uk.co.igindex.springrest.domain;scope=compile|runtime;inline=false" did not match any dependencies and no dependencies are actually embedded. What am I doing wrong? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer I

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-27 Thread Barbara Rosi-Schwartz
t: 26 October 2011 13:17 To: users@felix.apache.org Subject: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 19 Oct 2011, at 15:09, Barbara Rosi-Schwartz wrote: > Thanks Stuart. > > Turns out I do not need to embed all transitive dependenci

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-27 Thread Barbara Rosi-Schwartz
-in for a mixture of OSGi and non OSGi dependencies On 17 Oct 2011, at 10:03, Barbara Rosi-Schwartz wrote: > Hello. > > I am using the Maven Bundle plug-in to OSGi-ify dependencies that we have on > another team's jars. These jars in turn have their own dependencies, some o

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-19 Thread Barbara Rosi-Schwartz
users@felix.apache.org Subject: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 19 Oct 2011, at 09:15, Barbara Rosi-Schwartz wrote: > Good morning, I am back!... ;-) > > I am trying out Neil's large bundle option as an interim solution

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-19 Thread Barbara Rosi-Schwartz
Barbara Rosi-Schwartz > Good morning, I am back!... ;-) > > I am trying out Neil's large bundle option as an interim solution. I > am using the > > *;scope=compile|runtime > > Instruction. When I deploy my fat bundle, it falls over with a > transitive dependency used

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-19 Thread Barbara Rosi-Schwartz
configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 17 Oct 2011, at 17:01, Barbara Rosi-Schwartz wrote: > I mean that I don't see the actual "third party" dependencies being embedded > in the foo-bar.jar file. The manifest appears to be c

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-19 Thread Barbara Rosi-Schwartz
r 2011 at 14:21, Barbara Rosi-Schwartz wrote: > Neil, > > what I was trying to do, was not to treat the company jars as "third party" > ones. Since I have access to the projects and their pom files, I was trying > to get at least the jars my project depends on to be mor

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
ect: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 17 Oct 2011, at 16:46, Barbara Rosi-Schwartz wrote: > Hi Stuart, when I run the Maven Bundle plug-in with your suggested > modification, I do not see the embedded dependencies in the generated jar

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
To: users@felix.apache.org Subject: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 17 Oct 2011, at 10:03, Barbara Rosi-Schwartz wrote: > Hello. > > I am using the Maven Bundle plug-in to OSGi-ify dependencies that we have on > another

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
g dependencies… both result in a fatter system than required. Rgds, Neil On Monday, 17 October 2011 at 14:21, Barbara Rosi-Schwartz wrote: > Neil, > > what I was trying to do, was not to treat the company jars as "third party" > ones. Since I have access to the projects a

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
e in, using Import-Package etc. You can then gradually dissolve the 3rd party bundle by removing a single library from its Bundle-Classpath and OSGifying it in isolation, without needing to refactor your own bundles. Regards Neil On Monday, 17 October 2011 at 13:44, Barbara Rosi-Schwartz wro

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
extend this to exclude more than one artifactId, but in that case you could perhaps deploy your OSGi and non-OSGi artifacts under different groups and use the groupId to selectively embed only non-OSGi artifacts: groupId=!foo-osgi;scope=compile|runtime Or as Neil suggested, you could look int

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
@felix.apache.org Subject: Re: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies On 17 Oct 2011, at 10:03, Barbara Rosi-Schwartz wrote: > Hello. > > I am using the Maven Bundle plug-in to OSGi-ify dependencies that we have on > another team's ja

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
Perret mob2: +33 (0)6 69 52 18 48 2011/10/17 Barbara Rosi-Schwartz > Hello. > > I am using the Maven Bundle plug-in to OSGi-ify dependencies that we > have on another team's jars. These jars in turn have their own > dependencies, some of which I have already OSGi-ified, wherea

RE: Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
so > that it is inherited from all *modules.* > * > * > *WDYT ? > * > -- > Pierre-Henry Perret > mob2: +33 (0)6 69 52 18 48 > > > > > 2011/10/17 Barbara Rosi-Schwartz (mailto:barbara.rosi-schwa...@iggroup.com)> > > > Hello. > > > > I

Hot to configure Maven Bundle plug-in for a mixture of OSGi and non OSGi dependencies

2011-10-17 Thread Barbara Rosi-Schwartz
specification, but to no avail. How do I correctly specify the instructions to achieve my goal? TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group|Cannon Bridge House 25 Dowgate Hill|London|EC4R ZYA t: +44(0)20 7573 0208 (Direct) t: +44(0)20 7896 0011 (Switchboard) w:

RE: Maven bundle plugin defining wrong version for imported package

2011-10-12 Thread Barbara Rosi-Schwartz
t build time, but if the information about the exported version is not available then it simply cannot generate an import range. Debatably, bnd could output a warning or error when this is the case. Regards, Neil On Wednesday, 12 October 2011 at 12:13, Barbara Rosi-Schwartz wrote: > Hello e

Maven bundle plugin defining wrong version for imported package

2011-10-12 Thread Barbara Rosi-Schwartz
Hello everyone. I am using the Maven bundle plugin to OSGi-ify a set of projects that are non-OSGi. I have two projects, A and B, with B declaring a dependency on A. A is at version 2.10.0-SNAPSHOT and I am declaring a dependency from that version in B's pom.xml. However, when the Maven bundle

RE: Wrong version in uses clause generated by maven-bundle-plugin

2011-09-28 Thread Barbara Rosi-Schwartz
27;re reading that clause slightly wrong. "Uses" clauses don't have versions… the version clause is actually attached to the exported package, i.e. com.acne.jar2.dto. Rgds Neil On Wednesday, 28 September 2011 at 11:30, Barbara Rosi-Schwartz wrote: > Hello everyone. > >

Wrong version in uses clause generated by maven-bundle-plugin

2011-09-28 Thread Barbara Rosi-Schwartz
er to keep the packaging element as "jar". However I have also tried the standard usage of the plugin, with the packaging element as "bundle", but this has produced exactly the same results. TIA, B. BARBARA ROSI-SCHWARTZ Senior Developer IG Group|Cannon Bridge House