Title: Message
I am fairly new to NANT and I was wondering how the best way to set the environment path in a NANT build project.
 
I tried the following in the build, just before the <solution> call:
 
  <setenv>
              <variable name="PATH"       path="%PATH%"/>
              <variable name="INCLUDE" path="${HEADERINC};${SHAREDTPH};%INCLUDE%"/>
              <variable name="LIB"          path="${SHAREDLIB};%LIB%"/>
 </setenv>
But when I run the build I will still get an error stating that one of the header files could not be found.  The header file in the error is in the ${HEADERINC} path property so this is either not setting correctly or the project is not using this environment variable and therefore not even checking these paths.  Does the project have to set the solution to use the /useenv setting and if so then how do you set that?
 
We are currently using NANT 0.85 -rc3.
 
Thanks for any help on this issue.

SMART Technologies Inc.

Tim Mayert
Software Developer

Tel. 403.228.8552 Fax 403.228.2500
[EMAIL PROTECTED]
http://www.smarttech.com
Bringing people and ideas together.

 

Reply via email to