>> 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%.
>>
>>
>> Currently my company is using .84 with nantcontrib .84, in a windows 
>> 2003 .NET environment.
>
>This is your problem.  Upgrade to a recent .85 release.
>
>The .84 release has many bugs and incomplete features...

Fair enough, but the actual functionality I mentioned seems to be
undefined; also, I glanced at the .85 source code while I was waiting
for a response, and saw the following line as a default (apparently)
configuration for invoking a process:

(ExternalProgramBase.cs / void PrepareProcess(...))
process.StartInfo.UseShellExecute = false;

The implication of this line is that the search %PATH% will not be used.
There is an argument for flipping this to `true', and probably a better
argument for some type of NANT configuration, probably branched under
the <EXEC> target, which allows for this to be enabled / disabled.

-JonS


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to