Hi Upayavira, thanks for helping.
> Does it work with the CLI instead of the ant task? No, unfortunately that doesn't work, either. I used the sample xconfig file from http://cocoon.apache.org/2.1/userdocs/offline/configuration.html#Sample+xconf+File with minor changes for my project. I can see the CLI loading all the jars, but as soon as it starts executing, I get the error: Main Class: org.apache.cocoon.Main Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/cli/Options at org.apache.cocoon.Main.setOptions(Main.java:132) at org.apache.cocoon.Main.main(Main.java:255) ... 7 more Before, while loading the jars, it said however, that commons-cli-1.0.jar was added and that one does contain org.apache.commons.cli.Options. So, since CLI didn't work, I tried the ant task, but, as I said, not with any more success. > Are you using > org.apache.cocoon.CocoonTask? (There's an older one in the scratchpad > which I'll remove soon). Yes, I am. I copied the sample ant task from http://cocoon.apache.org/2.1/userdocs/offline/ant.html#Sample+Ant+Task and made some minor modifications for my own project. Thanks Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]