I am starting out with NANT.  It appears that to invoke an external process via <EXEC> target I must prepend a path to the executable even if the file is in the system search %PATH%.

 

For compatibility reasons between different build machines, I would rather not configure a path setting for each <EXEC> process.  I’d like certain key tools to be set in the system path.

 

Does\Can NANT use the system search path?  Did I miss something obvious?  (I read through the manual on <EXEC> and so on).

A workaround is to invoke cmd /c “exe arg arg”, however this can be unwieldy.

 

Currently my company is using .84 with nantcontrib .84, in a windows 2003 .NET environment.

 

Thanks,

JonS.

Reply via email to