*gulp*. <resx> and <license> were recently added by me. You're right that the paths should be relative to the project, and I believe the solution you have is correct.

If you have a patch, send it my way and I can check it in, or I can take a look myself. The unit tests *may* need to be modified to account for this change.

Mark Griffiths wrote:

I recently upgraded from a pre-"big refactoring" version of NAnt and have
come across a small problem. Most of our projects consist of multiple build
files that get called via the <nant> task. We always specify paths relative
to each build file and this works fine with the old version.

With the new version it seems that some non-core tasks do not account for
the project's base directory. Specifically the <resx> and <resgen> tasks
(and possibly the <license> task).

Since I am not too familiar with the NAnt source code, could one of the NAnt
developers confirm that any 'paths' should be passed to
Project.GetFullPath() prior to use within a task's ExecuteTask() method. If
so then I will be happy to complete the changes and submit patches.

MG



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to