populate a list dynamically in ant build script
- by user1164061
I have the following directory structure:
vardir1
vardir2
vardir3
vardir4
constantdir1
Inside constantdir1, i have an ant build script which takes the list of vardir1 to vardir4 and compiles them sequentially. The situation is, vardir1 to vardir4 may or may not exist all the time. Right now I have hard coded the values in the list and checking to see if the vardir is available before I kick off its compilation. Is there any way I can dynamically populate this list in my ant build script?