Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.
The following page has been changed by LarsHuttar: http://wiki.apache.org/cocoon/CommandLine ------------------------------------------------------------------------------ Below are some notes I wrote up while trying to get CLI to work on my machine under Cocoon 2.1.2. I did get it to work at least rudimentarily. I hope these are of help to you. - - LarsH + - LarsHuttar {{{ - Follow directions at http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine @@ -408, +408 @@ for more: http://thread.gmane.org/gmane.text.xml.cocoon.user/33374 - You can tell it worked if it reports a "Total time" and creates files in build/dest. + + - Note on missing HttpSessionBindingListener class ([http://64.233.187.104/search?q=cache:buUZF5frFgQJ:archives.real-time.com/pipermail/cocoon-users/2004-January/045393.html+NoClassDefFoundError:+javax/servlet/http/HttpSessionBindingListener&hl=en&client=firefox-a):]) + + >I built Cocoon 2.1.3 sucessfully and tried to run cocoon cli with the cli.xconf file provided with the cocoon distribution. I got an invocationTargetException caused by a java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionBindingListener ... + + You've included a block that requires an HTTP binding (maybe the authentication framework?) You could copy servlet.jar into lib/local and rebuild cocoon (or copy it into WEB-INF/lib), which might get you working (you'll find it in lib/optional I believe). + I know this is not good, and at some point it needs to be dealt with (Cocoon is too HTTP centric). But hopefully these will get you going further. + Regards, Upayavira + }}} === Some Keywords === - CLI, offline generation + CLI, command line interface, offline generation
