Hi All, Please find the relevant link for the PR : https://github.com/wso2/orbit/pull/170
Thank you, On Mon, Feb 1, 2016 at 5:52 PM, Buddhima Wijeweera <buddh...@wso2.com> wrote: > Hi Kishanthan, > > I tried with given osgi bundles which provides freemaker. But again met up > with another problem of requiring groovy: > > BundleException: The bundle "org.milyn.smooks.osgi_1.5.0 [143]" could not > be resolved. Reason: Missing Constraint: Import-Package: groovy.xml; > version="1.5.7" > > Therefore after offline discussions, decided to go ahead with the earlier > approach of bundling Smooks as an orbit bundle. > > Thank you, > > > On Mon, Feb 1, 2016 at 12:56 PM, Kishanthan Thangarajah < > kishant...@wso2.com> wrote: > >> Can we try with [1] or [2] as the FreeMaker OSGi bundle? If these doesn't >> bring any additional OSGi dependencies, we can use it, but let's try out >> these first. >> >> [1] >> http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.freemarker&version=2.3.15 >> [2] >> http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker/2.3.15_5 >> >> On Mon, Feb 1, 2016 at 12:04 PM, Buddhima Wijeweera <buddh...@wso2.com> >> wrote: >> >>> Thanks Kasun, >>> >>> [Adding dev mailing list] >>> >>> On Mon, Feb 1, 2016 at 12:02 PM, Kasun Indrasiri <ka...@wso2.com> wrote: >>> >>>> Shouldn't we discuss this in a mailing list? >>>> >>>> On Mon, Feb 1, 2016 at 12:00 PM, Buddhima Wijeweera <buddh...@wso2.com> >>>> wrote: >>>> >>>>> Hi All, >>>>> >>>>> For the the next ESB release we need to upgrade Smooks version from >>>>> 1.4 to 1.5. Currently Smooks bundle is created through orbit which reside >>>>> in location [1]. >>>>> >>>>> According to offline discussion had with Kishanthan, we have asked to >>>>> try directly using smooks osgi bundle in carbon-mediation but we ended up >>>>> with a problem activating Smooks OSGI bundle as it required certain >>>>> additional dependencies. >>>>> >>>>> example: >>>>> >>>>> BundleException: The bundle "org.milyn.smooks.osgi_1.5.0 [142]" could >>>>> not be resolved. Reason: Missing Constraint: Import-Package: >>>>> freemarker.cache; version="2.3.15" >>>>> >>>>> Which means smooks osgi bundle is searching for freemarker dependency. >>>>> >>>>> The freemarker can be found as a jar [2]. But even after we add it to >>>>> "/lib" folder, still the smooks bundle fails to activate, since it can't >>>>> find the matching version (freemarker bundle is in active state). >>>>> >>>>> The reason behind this is the version of free marker carbon server >>>>> generated. Even by bundling freemarker as a orbit bundle (which adds >>>>> "wso2" >>>>> post-fix to version), the exact version "2.3.15" cannot be satisfied, >>>>> according to my knowledge. >>>>> >>>>> The best option so far can be seen is to re-bundle smooks along >>>>> with dependencies as an orbit bundle, which is the way it was there >>>>> before. >>>>> >>>>> Please let us know if there's any other alternative to overcome this >>>>> confusion. >>>>> [1] https://svn.wso2.org/repos/wso2/trunk/orbit/smooks/ >>>>> [2] http://mvnrepository.com/artifact/org.freemarker/freemarker/2.3.15 >>>>> >>>>> Thank you, >>>>> -- >>>>> Buddhima Wijeweera >>>>> Software Engineer; WSO2 Inc.; http://wso2.com , >>>>> >>>>> Mobile: +94 71 427 9966 >>>>> Email: buddh...@wso2.com >>>>> Blog: https://buddhimawijeweera.wordpress.com >>>>> GitHub Profile: https://github.com/Buddhima >>>>> >>>> >>>> >>>> >>>> -- >>>> Kasun Indrasiri >>>> Software Architect >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> cell: +94 77 556 5206 >>>> Blog : http://kasunpanorama.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> Buddhima Wijeweera >>> Software Engineer; WSO2 Inc.; http://wso2.com , >>> >>> Mobile: +94 71 427 9966 >>> Email: buddh...@wso2.com >>> Blog: https://buddhimawijeweera.wordpress.com >>> GitHub Profile: https://github.com/Buddhima >>> >> >> >> >> -- >> *Kishanthan Thangarajah* >> Associate Technical Lead, >> Platform Technologies Team, >> WSO2, Inc. >> lean.enterprise.middleware >> >> Mobile - +94773426635 >> Blog - *http://kishanthan.wordpress.com >> <http://kishanthan.wordpress.com>* >> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* >> > > > > -- > Buddhima Wijeweera > Software Engineer; WSO2 Inc.; http://wso2.com , > > Mobile: +94 71 427 9966 > Email: buddh...@wso2.com > Blog: https://buddhimawijeweera.wordpress.com > GitHub Profile: https://github.com/Buddhima > -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev