Hi Upayavira
Thanks for your help, so far. My CLI command should call a pipeline which inserts an xml fragment in an existing xml file (using the source writing Transformer). So a very simple task (from the CLI point of view). Now to my second problem: WHat do you mean by "tack the request parameters onto the end of the URI"? I tried with this: >cocoon cli -c build\webapp -d build/output -C build/webapp/WEB-INF/cocoon.xconf -w build/work archive-runner/insertRun?time=test&date=test&archive-label=test&number-of-run=test&archive-run-version=test However the CLI interprets the request params as input parameter and prompts to insert a date, and so on. Did I understand you wrong? Regards, Stephanie > Stephanie Zohner wrote: > > >Hi, > > > >I'm still fighting with request params in CLI xconf. > > > >For testing I added the request params to the URI src attribute (see > below). > >The called pipeline inserts an xml element in an existing xml file. > > > >1. problem: > >When I run cocoon cli with this xconf file, the generation is completed > with > >no errors but instead of one xml element, two element are added to the > >xml-file. > > > >So it seems that the defined pipeline is called twice instead of only > once. > >But what command does produce this behaviour? When I call the pipeline in > the > >browser everything works fine. > > > > > Yup. Once to get the links and once to get the page. If you switch off > 'confirm-extensions', I think that should get you down to one. > > >2. problem: > >Can I configure request-params with the "command line parameter method", > >too? How is the syntax for the url in the command line then? > > > > > Yes. Any parameters without switches will be taken as URIs. Just tack > the request parameters onto the end of the URI and you'll be done. > > What is it you are trying to achieve with the CLI? > > (I've got an answer planned to your previous post - no time right now). > > Regards, Upayavira > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- +++ GMX - die erste Adresse f�r Mail, Message, More +++ Bis 31.1.: TopMail + Digicam f�r nur 29 EUR http://www.gmx.net/topmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
