Re: Advanced Control Flow - Java
David Crossley <[email protected]> Mon, 29 Sep 2014 16:52:55 +1000
| Newsgroups | gmane.text.xml.cocoon.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 24, 2014 at 08:19:54AM +0100, Peter Sparkes wrote: > Hi, > > "http://cocoon.apache.org/2.1/userdocs/flow/java.html" has an example of > dynamically compiling Java source files and loading and executing the > resulting classes at runtime > > Please where would the jar file go? > > is it WEB-INF/lib, as I can't get it to work? I wonder if the jar needs to go in the $COCOON_HOME/lib/local/ directory. Then do '$COCOON_HOME/build.sh war' and deploy it, or just a local test with '$COCOON_HOME/cocoon.sh'. Also perhaps temporarily add the "samples" in the local.build.properties file, prior to building and then see the "Status Page" to ensure that your jar file is found. -David