Element: <source>

Syntax


<!ELEMENT source         (#PCDATA)>

This element occurs in the elements copy and move. .

Description

The element source is used to specify name of the source file when processing a copy, or a move.

Examples


<copy base="/usr/src/mypackage">
   <option>force</option>
   <source>config.txt</source>
   <destination>/opt/mypackage/config.txt</destination>
</copy>

The equivalent bash script is :


echo Copying 'config.txt into /opt/mypackage/config.txt'
cd /usr/src/mypackage
cp -f  config.txt /opt/mypackage/config.txt