Here's my suggestion. At the beginning of your bat, CD to a folder close to the jar files. Then you'll have much less characters in your classpath.
I have had this problem trying to use the 2.0.4 CLI, but didn't persevere through to a solution. Regards, Upayavira > Hello, > > althoug many people have asked question about the cli, I couln't find an > answer to mine. > > I want to call the cli. But before I have to add ALL the lib in WEB-INF to > my class path. > Because it is a really long classpath I mad a .bat. Running it I get an > error that the line is too long. > > I tried nearly everything. Is there a way to set the classpath > directory-wise and not include each .jar? > > If you are using the cli, please tell me the steps to bring it to work. > > Rob > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>