Re: [Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-07-01 Thread Gimantha Bandara
Hi Kasun/Nirmal, As I remember some of the Lucene jars have SPI files with the same name. Thats why we embed the jars. Now I am creating Lucene 5.2.1 bundles without embedding jars and proper SPI loading. So there wont be these issues. On Thu, Jul 2, 2015 at 11:26 AM, KasunG Gajasinghe wrote:

Re: [Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-07-01 Thread KasunG Gajasinghe
Hi Gimantha, Is there any particular reason to embed the jars instead of including all the packages in-line? On Thu, Jul 2, 2015 at 10:58 AM, Nirmal Fernando wrote: > Gimantha, > > I think we have to follow the proper way of doing it. This orbit bundle > shouldn't be any different to other orbi

Re: [Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-07-01 Thread Nirmal Fernando
Gimantha, I think we have to follow the proper way of doing it. This orbit bundle shouldn't be any different to other orbits IMO and more importantly it doesn't work if we don't package classes in an external Spark environment. @Kernel team please advice. On Sun, Jun 28, 2015 at 9:19 PM, Nirmal

Re: [Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-06-28 Thread Nirmal Fernando
Thanks Gimantha, but when this jar runs on a non-OSGi environment like an external Spark, it failed to find the packages without the above diff. On Sun, Jun 28, 2015 at 9:13 PM, Gimantha Bandara wrote: > Hi Nirmal, > > Since we have embedded the jar files, exporting the packages would have > dup

Re: [Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-06-28 Thread Gimantha Bandara
Hi Nirmal, Since we have embedded the jar files, exporting the packages would have duplicated the classes by packing the classes. '_exportcontents' exposes the classes of the embedded jars without packing them. On Sun, Jun 28, 2015 at 11:16 AM, Nirmal Fernando wrote: > Noticed $subject. Any rea

[Dev] Lucene 4.10.3.wso2v2 orbit bundle doesn't pack class files

2015-06-27 Thread Nirmal Fernando
Noticed $subject. Any reason for this? Following patch, did pack the class files. *diff --git a/lucene/4.10.3.wso2v2/pom.xml b/lucene/4.10.3.wso2v2/pom.xml* *index 5ba4669..84cf7ce 100644* *--- a/lucene/4.10.3.wso2v2/pom.xml* *+++ b/lucene/4.10.3.wso2v2/pom.xml* @@ -109,6 +109,9 @@ ${project