<?xml version="1.0" encoding="utf-8"?>
<!--
======================================================================================================================================
;			 						             FileName.xml
;=====================================================================================================================================
;
; Description or purpose: 
;       This XML file specifies all the directories and files that are
;		to be copied/created from one source folder to one destination folder. 
;
; Note/Restrictions: 
;       When commenting in this file, do not use 2 - adjacent to each other
;		or the XML parser will hang. 2 hyphens adjacent to each other denote
;		the start/end of a comment.  Do not place comment at the top of the actual
;       XML tags or the XML parser will hang.
;
;  Usage:
;      + 1st level node is the root, i.e. <?xml version="1.0" encoding="utf-8"?>
;
;		 + 2nd level node is the sibling of the 1st level node. Don't have more than 1 2nd-level node.
;             The actual tree starts from the 2nd level node.  
;             In this example, 2nd-level node is <tree> ... </tree>
;
;		 + 3rd level node must be inside 2nd-level node. It defines a package of files to be copied <package name="" startingsourcepath="" startingdestpath="">
;             ++ [name] denotes the name of the package
;             ++ [startingsourcepath] is optional. This denotes the start path of all the source files to be copied. If this attribute
;                                     is not defined. The starting root path will default to the directory where this XML file is located
;                                   Path can be absolute or relative. If relative path, the path is relative to the directory where
;                                   the XML resides, not where the EXE is located
;             ++ [startingdestpath] is required. This denotes the start path of where all the source files will be copied to. 
;                                   Path can be absolute or relative. If relative path, the path is relative to the directory where
;                                   the XML resides, not where the EXE is located
;
;		 + 4th level node must be inside 3rd level node.  
;        Can have either of the following tags
;             1. <filescopy sourcedir="_" destdir="_"></filescopy>
;                This allows user to specify what files to be copied from 1 source folder to 1 destination folder
;                  ++ [sourcedir] denotes the source directory where all the source file(s) resides.
;                     [sourcedir] can start with "." which means start at the default/custom root directory.
;                     The default root directory is the directory where this XML file is located
;                     if [sourcedir] is not defined, then all files defined within this node are to be created anew
;                  ++ [destdir] denotes the destination directory relative to the root dest dir
;                     [destdir] can start with "." which means start at the default/custom root directory.
;                     The default root directory is the directory where this XML file is located
;
;             2. <folderscopy sourcedir="_" destdir="_"/></folderscopy>
;                This allows user to copy anything under the source folder to a destination folder. All files, folders
;                and subfolders and subfiles will be copied to the destination folder
;
;		 + 5th level node must be inside 4th level node. 
;        Can have any combination of the following tags:
;              1. <fileinclude saveas="_" actions="_,_">filename</fileinclude>
;                  Description: Specifies file(s) to be copied
;                  ++ [saveas] is optional. Denotes to save the source file with a different name at the destination
;                  ++ [actions] is optional. Denotes the action to be perform on the file. Multiple actions are delimited
;                     with comma.
;                     Name of each action should be the same name defined by the Enum eFileAction that is defined
;                     in the frmBuildSoftwarePackage.cs.
;                     Possible actions are: CreateSWBuildIDEntries, BuildProjectUsingVS2009Compiler, BuildProjectUsingVS2010Compiler,
;                                       BuildProjectInDebug, BuildProjectInRelease
;
;              2. <fileexclude>filename</fileinclude>
;                  Description: Specifies file(s) to be ignored
;             ++  [filename] can be an actual file name or a wildcard such as "*.*" and "*.ext"
;
; Example 1 - Create a new file:
;     <?xml version="1.0" encoding="utf-8"?>
;
;     <tree>
;        <package name="pkg1">
;           <filescopy destdir="dest">
;              <fileinclude>newfile.txt</fileinclude>
;           </filescopy>
;     	</package>
;    </tree>
;
; Example 2 - Copy all the files in the root directory to "dest" directory in the root directory:
;     <?xml version="1.0" encoding="utf-8"?>
;
;     <tree>
;        <package name="pkg1">
;           <filescopy sourcedir="." destdir=".\dest">
;              <fileinclude>*.*</fileinclude>
;           </filescopy>
;     	</package>
;    </tree>
;
; Example 3 - Copy all files/folders/subfolders/subfiles within c:\source to c:\dest:
;     <?xml version="1.0" encoding="utf-8"?>
;
;     <tree>
;        <package name="pkg1">
;           <folderscopy sourcedir="c:\source" destdir="c:\dest" />
;     	</package>
;    </tree>
;=====================================================================================================================================
;
; REVISION HISTORY
;
; Date    Programmer    Proj.		   TEMA         Title
; - - -   - - - - - -  - - - - - -  - - - - - -  - - - - -
; 061112  D.Le 
;=====================================================================================================================================
-->
<tree>
	<package name="Control PC Software Package" startingsourcepath="." startingdestpath="D:\ReleaseIB_Production">
      <folderscopy sourcedir=".\PushFilesGui" destdir=".\Utils\PushFilesGui" />
	  <folderscopy sourcedir=".\GUTS" destdir="." />
	</package>
</tree>