On Wed, 2003-04-30 at 05:33, Ian MacLean wrote:
> you can use somthing like this:
>   <exec program = "cmd.exe" commandline="/c test.bat">
>       <environment>
>              <option name ="foo" value="bar" />
>          </environment>
>   </exec>
> the <environment> tag is new since 0.82 so you will need to get the 
> latest cvs build.

This doesn't work on Linux. I get the message

projects/gekkota/src/Gekkota.Core/default.build(102,27):
NAnt.Core.Tasks.ExecTask: echo had errors. Please see log4net log.
The requested feature is not yet implemented

Any idea?
Gius_.

> 
> Ian
> 
> > Hello
> > 
> > How can I set the environment variable using the exec task. What should be the 
> > Program argument value of that task should be set to?
> > 
> > Thanks for your help
> > Skarthik
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:    www.agamura.com
----------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to