Bill Arnette wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Merrill Cornish
Sent: Tuesday, February 22, 2005 5:45 PM
To: Arnette, Bill; 'nant-users@lists.sourceforge.net'
Subject: Re: [Nant-users] More <include> task woes
Bill,
I haven't done it recently, but I've prviously been able to
call targets (did you really mean "tasks") defined in an
included NAnt script from the calling Nant script. Of
course, the include must come before the call to the included target.
No, I mean targets. But according to the docs, tasks defined at the
project level should be run when at the point the file is included. So I
put an <echo> task at the project level in my included file and it doesn't
get run. I also tried putting a <property> in the included file and then
tried to <echo>the value after the <include> task to verify it was being set
and it is not.
I can't call targets in the included file and project-level tasks do not run
at the point of the include.
Is it possible the <include> task is broken in RC2?
can you post your buld files. I think there is a kown problem with xml
namespaces and include files - althought I can't recall the details offhand.
Ian
-------------------------------------------------------
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