RE: using Spring AOP in cocoon block

2009-10-06 Thread Robby Pelssers
: Søren Krum [mailto:soren.k...@uninett.no] Sent: Monday, October 05, 2009 8:28 AM To: users@cocoon.apache.org Subject: Re: using Spring AOP in cocoon block Robby Pelssers wrote: Can someone tell me what is needed to get AOP working in a cocoon block? · Dependencies · Block configuration

RE: using Spring AOP in cocoon block

2009-10-06 Thread Robby Pelssers
Message- From: Søren Krum [mailto:soren.k...@uninett.no] Sent: Monday, October 05, 2009 8:28 AM To: users@cocoon.apache.org Subject: Re: using Spring AOP in cocoon block Robby Pelssers wrote: Can someone tell me what is needed to get AOP working in a cocoon block? · Dependencies · Block

Re: using Spring AOP in cocoon block

2009-10-06 Thread Søren Krum
Hi! did you have a look around here? http://forum.springsource.org/showthread.php?t=36556 Looks like your instalation for some strange reason does not support CGLIB2... Best regards Søren - To unsubscribe, e-mail:

RE: using Spring AOP in cocoon block

2009-10-06 Thread Robby Pelssers
Spring AOP in cocoon block Hi! did you have a look around here? http://forum.springsource.org/showthread.php?t=36556 Looks like your instalation for some strange reason does not support CGLIB2... Best regards Søren

RE: using Spring AOP in cocoon block [SOLVED]

2009-10-06 Thread Robby Pelssers
Ok... so here is what I did to get a typical Core Spring AOP example working in a Cocoon 2.2 block. 1) generate the block using the Cocoon archetype. 2) add the necessary dependencies to the pom.xml dependency groupIdorg.aspectj/groupId artifactIdaspectjrt/artifactId

Re: using Spring AOP in cocoon block

2009-10-05 Thread Søren Krum
Robby Pelssers wrote: Can someone tell me what is needed to get AOP working in a cocoon block? · Dependencies · Block configuration · …? Kind regards, Robby Hi! so long i just worked with transactions as aop in cocoon. But i found the documentation of spring really complete, it worked