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

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -