https://bz.apache.org/bugzilla/show_bug.cgi?id=67621
--- Comment #2 from Stefan Bodewig <bode...@apache.org> --- <property environment="env" /> <pathconvert pathsep="," property="pathdirs"> <path path="${env.PATH}"/> </pathconvert> <first id="findcmd"> <restrict id="r"> <multirootfileset basedirs="${pathdirs}"> <include name="find"/> </multirootfileset> <exists/> </restrict> </first> <echo> ${toString:findcmd} </echo> does what you initially wanted -- You are receiving this mail because: You are the assignee for the bug.