Re: Apache Commons Weaver

2016-10-20 Thread Lukasz Lenart
2016-10-20 8:04 GMT+02:00 Christoph Nenning : > Obviously weaver uses a shaded version of asm5, so I guess that improves > our situation: > > https://commons.apache.org/proper/commons-weaver/commons-weaver-parent/commons-weaver-processor/dependencies.html Hm... this is a part of XBeans - wondering

Re: Apache Commons Weaver

2016-10-19 Thread Christoph Nenning
> > the weaver website is talking a lot about maven and ant integration, but > > wouldn't struts need it at runtime? > > Yeah, you can integrate a preprocessor with Maven but it works in > runtime as well. > > > If weaver could scan classpath whether asm/javassist/cglib are present and > > use

Re: Apache Commons Weaver

2016-10-18 Thread Lukasz Lenart
2016-10-17 10:22 GMT+02:00 Christoph Nenning : > the weaver website is talking a lot about maven and ant integration, but > wouldn't struts need it at runtime? Yeah, you can integrate a preprocessor with Maven but it works in runtime as well. > If weaver could scan classpath whether asm/javassist

Re: Apache Commons Weaver

2016-10-17 Thread Christoph Nenning
ks 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 > To: Struts Developers List , > Date: 17.10.2016 09:28 > Subject: Re: Apache Commons Weaver

Re: Apache Commons Weaver

2016-10-17 Thread Lukasz Lenart
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/ 2

Re: Apache Commons Weaver

2016-10-14 Thread Dave Newton
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 b

Apache Commons Weaver

2016-10-14 Thread Lukasz Lenart
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 Regar