Hi Jaroslaw,

I've added this attribute now.  That was my intention anyway, so thanks for
reporting this.

Gert

----- Original Message ----- 
From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
To: "NAnt Developers" <[EMAIL PROTECTED]>
Sent: Saturday, August 16, 2003 11:38 PM
Subject: [nant-dev] PATCH: New attribute to <exec> task.


> This one-liner allows you to specify new <exec> task attribute:
> 'useruntimenegine'. This is needed to run managed executables on
Linux/mono.
>
> You use it like this:
>
> <exec program="/path/to/filename.exe" useruntimeengine="true" />
>
> without this patch you had to write:
>
> <exec program="/path/to/mono" commandline="/path/to/filename.exe" />
>
> Can anybody commit it to CVS?
>
> Jarek
>
> Index: ExternalProgramBase.cs
> ===================================================================
> RCS file: /cvsroot/nant/nant/src/NAnt.Core/Tasks/ExternalProgramBase.cs,v
> retrieving revision 1.36
> diff -u -r1.36 ExternalProgramBase.cs
> --- ExternalProgramBase.cs      19 Jul 2003 10:33:25 -0000      1.36
> +++ ExternalProgramBase.cs      16 Aug 2003 21:31:39 -0000
> @@ -172,6 +172,7 @@
>          /// <c>true</c> if the external program should be executed using
a
> runtime
>          /// engine; otherwise, <c>false</c>.
>          /// </value>
> +        [TaskAttribute("useruntimeengine")]
>          [FrameworkConfigurable("useruntimeengine")]
>          public virtual bool UseRuntimeEngine {
>              get { return _useRuntimeEngine; }
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to