On Mon, Jan 12, 2015 at 12:57 PM, Sithumini Senevirathne < [email protected]> wrote:
> Hi All, > > Currently I am working on G-Reg new feature [1] Ability to display > difference of two resources of same type. Main objective of this feature is > to demonstrate the differences between two resources of same type. For > example WSDLs, WADLs, XSDs etc.. > > To compare and analyse the WSDL/ XML Schema documents, selected the open > source library Membrane SOA-Model and got the third party library approval > [2] for it. > > This library uses Groovy 2.x which needs ASM 4. Currently product-as uses > ASM 3. As membrane cannot work with ASM versions later than 4 .0, I am > facing an ASM library conflict. With ASM 3 it gives a > java.lang.IncompatibleClassChangeError. The reason for this error is > membrane uses org.objectweb.asm.ClassVisitor class in ASM 4 but this is > an Interface in ASM 3 and a Class in ASM 4 onwards. > When someone introduce a new library he/she has to go through all dependencies and required changes during the initial R&D phase not during very last stage like this. In case if we can't upgrade we will lose all development time spent + great feature. > > In-order to overcome the conflict need to upgrade ASM. What is the > standard way to proceed in this situation? > I don't think we can't simply upgrade ASM3 into ASM4 as those 2 versions are not compatible each other and AFAIK we have some AS features which depends on ASM3. IMO we need to introduce ASM4 bundle with proper OSGi versioning so that both ASM3 and ASM4 bundles can co-exists in runtime. Once we do that you can update Groovy/Membrane bundle to import ASM4 packages to fix above issue. Thanks ! > > > [1] https://redmine.wso2.com/issues/3403 > [2] https://redmine.wso2.com/issues/3466 > > -- > -- > Sithumini Senevirathne > Software Engineer > WSO2 Inc. - lean . enterprise . middleware | wso2.com > > email: [email protected], mobile: +94 756977999 > -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services; http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
