Re: User file uploads

2009-10-06 Thread Dominic Mitchell
On Mon, Oct 5, 2009 at 2:36 PM, Peter Flynn pfl...@ucc.ie wrote: I have a requirement for some of my users to upload documents to a Cocoon server. The files need to be managed by Apache and Tomcat afterwards, so using FTP/sftp won't work because those files will be owned by the user's userid,

RE: using Spring AOP in cocoon block

2009-10-06 Thread Robby Pelssers
Hi Soren, When installing a new Cocoon block I see that some Spring dependencies come out-of-the-box: List of artifacts without a source archive: ... o org.springframework:spring-core:2.5.1 o org.springframework:spring-context:2.5.1 o aopalliance:aopalliance:1.0 o

RE: using Spring AOP in cocoon block

2009-10-06 Thread Robby Pelssers
So I added following dependencies to my pom.xml: dependency groupIdorg.aspectj/groupId artifactIdaspectjrt/artifactId version1.6.4/version /dependency dependency groupIdorg.aspectj/groupId artifactIdaspectjweaver/artifactId version1.6.4/version

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
Hi Soren, I'm googling like crazy... I already read that thread ;-) And I added another dependency to my pom.xml: dependency groupIdcglib/groupId artifactIdcglib-nodep/artifactId version2.2/version /dependency Cool... I just figured out what was happening... My

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