I want to find the path to the file in the directory (similar to the unix "find" command or the "which" command, but I need it to work regardless of the platform) and save it as a property.
Tried to use whichresource
ant task, but that doesn't do the trick (I think this is only useful for viewing jar files).
I would prefer it to be pure ant and not write my own task or use a third-party extension.
Please note that there can be several instances of a file by this name in the path - I want it to return only the first instance (or at least I would like to select only one).
Any suggestions?
yonix
source share