copy

Description

A Copy job. Copy either:

Properties

NameDescriptionRequired
name A name, can be any text. No.
from The from file. Yes unless input supplied.
to The from file. Yes unless output supplied.
input An input. Yes unless from supplied.
output The output. Yes unless to supplied.

Example

 <copy to="foo/ba.txt">
  <from>
   <file file="fu/bar.txt"/>
  </from> 
 </copy>
 

Copy from a file to a buffer.

 <sequential>
  <jobs>
   <variables id="v">
    <buff>
     <buffer/>
    </buff>
   </variables>
   <copy id="copy" 
            name="Copy from a file to a buffer">
     <from>
      <file file="some.txt"/>
     </from>
     <output>
       <value value="${v.buff}"/>
     </output>
   </copy>
   <echo name="What's in the file?" text="${v.buff}"/>
  </jobs>
 </sequential>
 


(c) Rob Gordon 2005 - 2009