Exactly. If you're on windows with ms .Net, nant knows that you don't need to use a runtime engine. You can build using mono on windows and then you will also get:

mono ${build.dir}/Ojb.Net.Tools.PoGen/pogen.exe

use the -verbose flag to see the actual command thats being used in each case.

Ian
Met @ Uber wrote:

Apparently its just not documented, but the attribute itself works. Thanks a lot. And that shouldn't break anything between OS's right?

On Mon, 2003-10-13 at 16:25, Met @ Uber wrote:


That sounds like exactly what I need, but would you mind showing me an
example of what your talking about?  I don't see it in the 'exec' tasks
documentation.

~ Matthew

On Mon, 2003-10-13 at 16:17, Gert Driesen wrote:


nope, you should set the useruntimeengine attribute for the exec task to
true if you want that behaviour ...

Gert

----- Original Message ----- From: "Met @ Uber" <[EMAIL PROTECTED]>
To: "NAnt-Devel" <[EMAIL PROTECTED]>
Sent: Monday, October 13, 2003 10:07 PM
Subject: [nant-dev] Exec Task OS Specific





Does the exec task use 'mono' when on Linux to run programs?  For
example:

 <exec program="${build.dir}/Ojb.Net.Tools.PoGen/pogen.exe"
       commandline="/repository ${resource.dir}/repository.xml />

Does that get passed to the command prompt like so?

mono ${build.dir}/Ojb.Net.Tools.PoGen/pogen.exe /repository [snip]

Anyone know?

~ Matthew



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers







------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to