UPDATE: Changing resource files like xslt-stylesheets or cocoon sitemaps (*.xmap) change my running webapp. But a change or an update in a java file (and compiling it afterwards) does not affect anything.
Any further suggestions? Tobias From: [EMAIL PROTECTED] To: users@cocoon.apache.org Date: 22.09.2008 12:00 Subject: Re: how to debug cocoon-maven-plugin? Thanks Reinhard, but my files look pretty normal. I have compared them to the tutorial project from the cocoon site http://cocoon.apache.org/2.2/1291_1_1.html and I could not find any differences. Here the files from a example module block (target/rcl/webapp/WEB_INF/cocoon): spring/rcl.properties eu.sxdp.niko.niko-internalnews.block/contextPath=file\:/C\:/local/dev/workspace/sxdp-niko/niko-modules/niko-internalnews/./src/main/resources/COB-INF rclwrapper.properties #Reloading Classloader Properties #Fri Sep 19 13:24:11 CEST 2008 reloading.spring.enabled=true reloading.classloader.enabled=true rclwrapper.rcl.conf file:/C:/local/dev/workspace/sxdp-niko/niko-modules/niko-internalnews/./target/classes/ And here the files from my home-module (used to start the webapp): spring/rcl.properties #Spring properties as read from file:/C:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/rcl.properties #Fri Sep 19 17:13:46 CEST 2008 eu.sxdp.niko.niko-auth.block/contextPath=file\:/C\:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/../../niko-core/niko-auth/src/main/resources/COB-INF eu.sxdp.niko.niko-internalnews.block/contextPath=file\:/C\:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/../niko-internalnews/src/main/resources/COB-INF eu.sxdp.niko.niko-home.block/contextPath=file\:/C\:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/./src/main/resources/COB-INF ... rclwrapper.properties #Reloading Classloader Properties #Fri Sep 19 17:13:46 CEST 2008 reloading.spring.enabled=true reloading.classloader.enabled=true rclwrapper.rcl.conf file:/C:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/./target/classes/ file:/C:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/../niko-internalnews/target/classes/ file:/C:/local/dev/workspace/sxdp-niko/niko-modules/niko-home/../../niko-core/niko-auth/target/classes/ ... Did I missed something or any other ideas? Thanks, Tobias Reinhard Pötz <[EMAIL PROTECTED]> wrote on 19.09.2008 15:20:35: > [image removed] > > Re: how to debug cocoon-maven-plugin? > > Reinhard Pötz > > to: > > users > > 19.09.2008 15:21 > > Please respond to users > > [EMAIL PROTECTED] wrote: > > Hi, > > > > I've got a question regarding the cocoon-maven-plugin. > > I want to use this rapid development feature in a multi-module project. > > It usually worked in my project, but it stopped working since I made a > > major change. > > > > So my question is, how can I debug this feature? > > How can I determine what's wrong with my configuration? > > > > Here is my setup: > > > > In my parent pom, there is the following plugin call (that should be > > used by all the other modules): > > <plugin> > > <groupId>org.apache.cocoon</groupId> > > <artifactId>cocoon-maven-plugin</artifactId> > > <executions> > > <execution> > > <id>prepare</id> > > <phase>compile</phase> > > <goals> > > <goal>prepare</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > > > In each module, I have a rcl.properties with the self containing entry > > pointing to its target directory: > > my.project.module.block%classes-dir=./target/classes > > > > In my home-module there is a rcl.properties pointing to all the other > > modules: > > #HOME > > my.project.home.block%classes-dir=./target/classes > > > > #OTHERS > > my.project.module1.block%classes-dir=../module1/target/classes > > my.project.module2.block%classes-dir=../module2/target/classes > > my.project.module3.block%classes-dir=../module3/target/classes > > > > calling mvn jetty:run gives the following output > <snip/> > > Check the files in ./target/rcl/webapp/WEB-INF/cocoon. The *.conf files > are the classpath configuration and in spring/rcl.properties you can > find all paths that override the servlet context paths. > > -- > Reinhard Pötz Managing Director, {Indoqa} GmbH > http://www.indoqa.com/en/people/reinhard.poetz/ > > Member of the Apache Software Foundation > Apache Cocoon Committer, PMC member [EMAIL PROTECTED] > ________________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Sachsen DV Betriebs- und Servicegesellschaft mbH Täubchenweg 26 04317 Leipzig Amtsgericht Leipzig, HRB 18545 Geschäftsführer: Herbert Roller Brandão, Dr. Jean-Michael Pfitzner Aufsichtsratsvorsitzender: Andreas Benninger _________________________________________________________________ Sachsen DV Betriebs- und Servicegesellschaft mbH Täubchenweg 26 04317 Leipzig Amtsgericht Leipzig, HRB 18545 Geschäftsführer: Herbert Roller Brandão, Dr. Jean-Michael Pfitzner Aufsichtsratsvorsitzender: Andreas Benninger