> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> McKenna, Simon (RGH)
> Sent: dinsdag 22 maart 2005 3:22
> To: 'nant-users@lists.sourceforge.net'
> Subject: RE: [Nant-users] NAnt on Mono on Linux
> 
> 
> Hello again,
> 
> Did more research into the problem, findings below:
> 
> -> Are you indeed running NAnt on Mono SVN HEAD ?  
> 
> The build was from SVN head as of last Sunday.
> 
> mono -V reports:
> 
> Mono JIT compiler version 1.1.5, (C) 2002-2005 Novell, Inc and 
> Contributors. www.mono-project.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV      : normal
>         Globalization: normal
> 
> And from one of the error dumps:
> 
> Mono Runtime Version: 1.1.4322.573
> 
> -> Do you actually have the Mono 2.0 profile installed ?
> 
> Ummm...do you mean a NAnt build with a Mono 2.0 profile?
> 
> Sorry if that's stupid question, but I'm a bit confused
> with the versioning of Mono, as I thought the 1.1.x line
> used Mono 1.0 profile?

Mono 1.1.x comes with two different profiles: one that matches .NET 1.1 and
one experimetal profile for .NET 2.0.

> Do I have to set-mono-2.0-framework-configuration 
> and rebuild NAnt, then run with -t:mono-2.0? 
> Or do I have to rebuild Mono with 2.0 profile?

Neither of these, NAnt will work just fine on the 1.0 profile.

If the 2.0 profile was availble on your system, then NAnt would use it by
default.

> -> I'll try to reproduce your problem this evening.
> 
> Thanks, I had more success last night, although I did
> find something strange...it seemed that if I used
> more than one <script> task, things went astray, but
> if I combined all of my projects functions into one
> <script> task, then it worked.
> 
> To avoid muddying the waters, I took Ian's suggestion
> on board and used ScriptTask/script-sample.build to
> demonstrate the problem.
> 
> Sourceforge bounced my email with a .zip attached,
> so I've uploaded the .zip here:
> http://si.sshnug.com/ScriptTask.zip
> 
> * script-sample-okay.build
>   
>   Single <script> task with added function.  Ran without error.
> 
> * script-sample-kaboom.build
> 
>   Multiple <script> tasks, same added function, but this crashed.
> 
> 
> The .txt files show output when using multiple <script> tasks.
> 
> Note that the -with-debug.txt reported success (even though
> it generated an error about mono-2.0?), and the <echo> task
> reports the correct target, however the -without-debug.txt
> failed.   It seems strange that -debug should cause this?

The "error" about mono-2.0 is not really an error, we just output this in
debug mode for troubleshooting purposes.

> I don't know if any of this is of help to you guys, but I'm
> pretty sure my NAnt and Mono versions are recent, so I'm
> happy to work this through and rebuild/reinstall as needed,
> but perhaps someone else running NAnt on Mono on Linux
> could try script-sample-kaboom.build?

I had no problems running the "kaboom" script on Mono 1.0 & 2.0 profile (SVN
HEAD) using NAnt built from cvs.

Gert



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to