W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2014

Re: Setting options on command line (Calabash)

From: Nic Gibson <nicg@corbas.co.uk>
Date: Wed, 2 Jul 2014 14:46:42 +0100 (BST)
To: Gioele Barabucci <gioele@svario.it>
Cc: xproc-dev@w3.org
Message-ID: <516023597.3236331.1404308802932.JavaMail.zimbra@corbas.co.uk>
Hi Giole

This catches me on a regular basis. The sequence of arguments to calabash is

inputs/options xproc.script.xpl options

so you wanted something like

java -jar calabash.jar -isource=doc.xml  conv.xpl output-url=out1.xml 

hth

nic

----- Original Message -----
> From: "Gioele Barabucci" <gioele@svario.it>
> To: xproc-dev@w3.org
> Sent: Wednesday, 2 July, 2014 12:40:40 PM
> Subject: Setting options on command line (Calabash)
> 
> Hello,
> 
> my pipeline has a `output-url` option with a default value of
> 'default.xml', see [1]. In oXygen, if I set the option to another value,
> this other value is used instead of the default value. On the contrary,
> if I launch Calabash from the command line the default is always selected.
> 
> There are no examples at
> <http://xmlcalabash.com/docs/reference/cmdline.html>, so I tried these
> three variations, none of which works:
> 
> 
> 
> java -jar calabash.jar -isource=doc.xml output-url=out2.xml conv.xpl
> 
> java -jar calabash.jar -isource=doc.xml conv.xpl output-url=out3.xml
> 
> How can I set the `output-url` option of the pipeline when I use
> Calabash from the command line?
> 
> Regards,
> 
> [1]
> http://stackoverflow.com/questions/24512037/output-port-with-default-fallback-value/24528554
> 
> --
> Gioele Barabucci <gioele@svario.it>
> 
> 

-- 
Corbas Consulting / @CorbasLtd 
Digital Publishing Consultancy and Training 
http://www.corbas.co.uk, +44 (0)7718 906817/+44 (0)1273 930765 
Received on Wednesday, 2 July 2014 13:47:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:20 UTC