storing in non-existent folder?

In Calabash, the following:

    <p:store name="save">
      <p:with-option name="href" 
select="concat($output-folder,'/',$file-stem,'.ext')"/>
    </p:store>

fails if the folder referenced by $output-folder does not already exist.

1 Is this an implementation issue, or is it "as specified".

2 If it is intended behavior, what is the recommended way around it? I 
suppose I could use p:exec to run a shell command, but then it wouldn't 
be platform-independent...

Kevin Flynn

Received on Thursday, 2 July 2009 04:26:24 UTC