I would like to make some changes to how the <include> task works.

Currently if you use <include> to include a file from another directory the
tasks in the included file will be using a Projec.BaseDirectory that is the
same from the file doing the including.  This is very limiting and not very
intuitive at all.  Also I believe the basedir attribute on the <project>
element is another thing that is confusing and shouldn't be there.

I propose:
* remove the basedir attribute from <project>.  I think we've talked about
this and agreed this is a good thing.

* change the way <include> works so that when tasks/targets execute from
included files the base directory for those tasks will be relative to the
directory of the included build file.  (Like how C++ #include works).

* change <include buildfile=""/> to <include file=""/> to clean up the
syntax and make people verify that there includes are still valid.


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to