From: Ian M. <ianm@ActiveState.com> - 2003-02-26 06:37:41
|
Tony, > The directories do get added to the Fileset, but under the > "Fileset.Includes" collection. > > Changing the part of ClTask.cs that does the includes to reference > "Fileset.Includes" instead of "Fileset.FileNames" fixes that issue. However, > is it the correct, long term fix? Based on what you've stated, maybe not. Not really. The Includes collection is just the set of wildcards specified by the <includes="" elements. They have not been scanned or expanded so accessing <includes="*.foo"> will give you the exact string *.foo rather than all files that end in .foo. > I did send a patch for ClTask.cs, but I don't know where it went. > > I gave up with CorDBG since I don't have time to learn a command line > debugger right now (I also don't have access to VC.NET at work). I > eventually got DbgCLR to work for me by adding a <sleep> task to my build, > then attaching the debugger to the running instance of Nant. Not elegant, > but it works. DbgCLR worked fine for me. Go to Debug | program to Debug. Select the newly built Nant.exe and set the working directory to where you have a .build you want to test. The do a debug | step into and it stops at the first line of Main(). Ian |