Hi,
the weaver website is talking a lot about maven and ant integration, but wouldn't struts need it at runtime? If weaver could scan classpath whether asm/javassist/cglib are present and use what it finds it would be great, but I'm not sure if this is the case. reflections looks good at first sight. It has a dependency on javassist, would that be an improvement? It is licensed under WTFPL, what does ASF say about that? Regards, Christoph > From: Lukasz Lenart <[email protected]> > To: Struts Developers List <[email protected]>, > Date: 17.10.2016 09:28 > Subject: Re: Apache Commons Weaver > > The case is that we use ASM just to scan for classes, no bytecode > manipulation or other fancy things... and ASM gives a lot of conflicts > as almost every app server is using it. > > We can also use https://github.com/ronmamo/reflections > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2016-10-14 16:23 GMT+02:00 Dave Newton <[email protected]>: > > Does Weaver explicitly mean you don't need to use the others? I'm wondering > > about the meaning of this line: > > > >> A: Rather than being an alternative to these technologies, Commons Weaver > > can be thought of as providing a structured environment in which these > > technologies can be put to use. I.e., the bytecode modifications made by a > > given Weaver implementation would typically be implemented using one of > > these (or comparable) libraries. > > > > Dave > > > > > > On Fri, Oct 14, 2016 at 5:12 AM, Lukasz Lenart <[email protected]> > > wrote: > > > >> Hi, > >> > >> What do think about using Apache Weaver instead of ASM, Javassist > >> (this requires changes in OGNL) and CGLIB (do we use it at all???)? > >> > >> https://commons.apache.org/proper/commons-weaver/ > >> > >> In most cases Struts just scans classes to find annotations, this > >> should allow reducing dependencies > >> > >> > >> Regards > >> -- > >> Łukasz > >> + 48 606 323 122 http://www.lenart.org.pl/ > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > > e: [email protected] > > m: 908-380-8699 > > s: davelnewton_skype > > t: @dave_newton <https://twitter.com/dave_newton> > > b: Bucky Bits <http://buckybits.blogspot.com/> > > g: davelnewton <https://github.com/davelnewton> > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > This Email was scanned by Sophos Anti Virus
