Re: calabash with multiple input binding

Le 31/05/2013 23:44, Georges Schmitz a écrit :
> Hi,
>
> I invoke calabash (1.0.9-94) under windows in the following way:
>
>     calabash.bat -i source=file1.xml source=file2.xml source=file3.xml -o result=cc-matrix.html cc-matrix.xpl
>
> but my output contains only data from file1.xml. No difference for an older calabash version (0.9.32) I had at hand.
>
> In the batch file it looks like this, I simply pass all arguments with  %*
>     ...
>     java -Xmx1024m  com.xmlcalabash.drivers.Main %CMD_OPTIONS% %*
>
> The calabash doc only tells me this:
>
>>> If the input binding for a particular port is repeated, all of the inputs specified will appear on that port as a sequence of documents. 
> Am I interpreting this wrongly, when I set  
>     -i source=file1.xml source=file2.xml source=file3.xml
>
> Can anyone point me to the correct usage for multiple input bindings. I couldn't find any example out there. 
Hi,
you must use "-i" before each source :

-i source=file1.xml -i source=file2.xml -i source=file3.xml

-- 
Olivier Jeulin

Received on Saturday, 1 June 2013 17:08:22 UTC