Ian MacLean wrote:


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.

heres the relevant part from an old post :

I tried it out and discovered that if you omit the xmlns attribute on the project in the main build file, it then works. Further testing reveals that if both the main and included build file have the identical xmlns attribute, it also works. Gary

Are you using xmlns= in either the main build file or the include ?

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

Reply via email to