ant - Checkup for exact content of folder (no more, no less folders/files) -


i have few directories need verify these directories contain exact list of files , directories , if there files or directories more or less should so. essential thing available task not enough me because need know not if files exists, if there aren't more shouldn't there.

i macrodef task define list of files , directories (i have more of them, macrodef seems best solution), have problem checking both types - directories , files @ once. idea how so?

i didn't find similar examples of macrodef , appreciate help. thanks

you can check if files exist available task, count files on given directory resourcecount task. if equals number of files expected, ok.

you'll need set fileset , dirset resource collection.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -