I believe there is a bug in NAnt.DotNet.Tasks.LicenseTask.ExecuteTask(). The lines:

                    // copy licenses file to output file
                    File.Copy(Path.Combine(BaseDirectory.FullName, Target + 
".licenses"), 
                        licensesFile.FullName);

Should be:

                    // copy licenses file to output file
                    File.Copy(Path.Combine(BaseDirectory.FullName, Target + 
".licenses"), 
                        licensesFile.FullName, true);

The problem is that during subsequent builds, if we need to generate a new .licenses 
file, but a stale one exists, we won't be able to overwrite the old one...


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to