In ant, how can i check if a set of files (comma-separated list of paths) exist or not?
For example I need to check if all paths listed in myprop exist
myprop
Bundled conditions are the shortest solution to check for existence of multiple dirs or files :
...
To check for a commaseparated list of path use Ant addon Flaka , f.e. :
Another possibility is the use of scriptcondition task with a jvm scripting language like groovy,beanshell .. etc.