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?

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?


-> 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?

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?

peace
si


-------------------------------------------------------
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