Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-04-05 Thread Sameera Jayasoma
You can embed the dependency jar as it is without unpacking the jar file. One of the jars is singed. Thats why you get this exception. On Mon, Apr 6, 2015 at 11:14 AM, Niranda Perera wrote: > Hi Sameera, > > Noted. > > returning back to where this issue occurred initially, when I include the > d

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-04-05 Thread Niranda Perera
Hi Sameera, Noted. returning back to where this issue occurred initially, when I include the dependencies in the spark component, in the server start up, there was a "java.lang.SecurityException: class "javax.servlet.FilterRegistration"'s signer information does not match signer information of ot

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-04-05 Thread Sameera Jayasoma
Hi Niranda, On Mon, Apr 6, 2015 at 10:25 AM, Niranda Perera wrote: > Hi Sameera, > > I agree with you on the compilation scenario. It was mistake on my part. > > But recently I came across with this issue. Pls consider the following > scenario. > > a non-OSGI jar say, 'foo.jar' depends on the 'a

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-04-05 Thread Niranda Perera
Hi Sameera, I agree with you on the compilation scenario. It was mistake on my part. But recently I came across with this issue. Pls consider the following scenario. a non-OSGI jar say, 'foo.jar' depends on the 'a.jar' and 'b.jar' which are OSGI bundles. foo (non-OSGI) |_ a (OSGI) |_ b (OSGI)

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-25 Thread Sameera Jayasoma
We are in the process of getting rid of transitive dependencies from orbits, carbon components etc. If your component requires the original Spark libraries for compilation then there are obvious issues in your Spark orbit bundle. A component should be able compile using orbits and other component

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-23 Thread Gokul Balakrishnan
Hi Kernel team, Any idea on $subject? Shouldn't the transitive dependencies of the orbit bundle be visible to the component referring to the bundle at compile time? Should we just refer to the 3rd party jar (the orbit bundle is wrapping) in the component and use the orbit in the feature, or should

[Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-23 Thread Niranda Perera
Hi, As of the current orbit bundle guideline [1], we have to mark the dependencies as optional. I believe this results in transitive dependencies of that particular bundle not being exposed. Because of this, I have experienced compilation failures, when I put orbit bundles as component dependenci