...
Ant is also powerful enough to do more complex matching such as all XML files within an arbitrarily-deep directory tree (i.e., unittest/**/*.xml
) or to shallow copy all XML files only a single directory deep within the unittest
directory (, i.e., unittest/*/*.xml
) - (noting this time the single /*/
).
Multiple transfer patterns can be supplied using a comma separated notation. e.g., For example, unittest/**/*.xml,unittest/**/*.csv
matches all XML and CSV files within an arbitrarily-deep directory tree. It should be noted that many if of the MettleCI commands supporting the use of Any Ant syntax also support the use of multiple -pattern
parameters, so in the previous example it may be more readable to use a command of the form…
...