Hello, i'm facing a problem when using cocoon 2.2, the rcl plugin and AnnotationSessionFactoryBean. (spring)
we have the following infrastructure (simple view): -> core -> a list of seperate projects. (blocks) The tables that belong to annotated classes placed in the core are generated when running the core itself, but are not generated for annotated classes placed in one of the seperate projects. (The problem only occurs when one of these blocks starts up seperately (using the rcl plugin). We have only one Servlet-service, so # at.workflow.webdesk.webdesk-core.service%classes-dir=./target/classes in the rcl.properties is outcommented. (obviously not for the core). So we had to add the target/classes directory to the classpath of the run:jetty:run plugin. Jetty itself starts up fine and after adding the classes directory of the target dir to the classpath of the run-jetty-run plugin, the classes (of the seperate project) are found and passed to the AnnotationSessionFactoryBean. (but the tables are not generated - which is strange somehow) When the jar is deployed to a webserver everything works fine again, but the possibility to run a block on its own is a great benefit that we don't want to miss. Has anybody experience in this area? Or had eventually the same problem? regards, Harald
