Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#38 New Task: Which or Where

open
nobody
None
5
2007-07-24
2007-07-24
Mike
No

It would be handy to have a task to perform the Which/Where path search.

Part of my build pattern is determining if all prerequisites are installed, and determining their inclusion in PATH by doing a Which/Where search.

Something like the following is what I'm looking for:
<which file="robocopy.exe" property="prereq.robocopy" failOnError="True"/>

The full path of the executable would be stored in the property value.

Thanks.

Discussion