Bill Arnette wrote:

Ian MacLean wrote:




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



Indeed I was. I put the namespace declaration in all my include files and (so far) all is well now!

Thanks!



no problem. Maybe the <include> task should check the declarations and emit a warning if they don't match.

Oh.  Except, -projecthelp still does not display the targets from the
include files.



yeah - its implemented as an xslt script now - ie it doesn't execute any tasks ( <include> included :) ). Perhaps a better implementation could be written that processes the includes as well. It could probably be done with xslt but that may not be the best approach.

Do you want to log a bug for this ?

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