Hello,
I'm wondering if anyone noticed this using either the vssdiff or the vsshistory
tasks.
Using the latest build of Nant 0.85 ( 2005-02-08 ) and NantContrib 0.85 (
2005-02-05 ).
Using Microsoft Visual SourceSafe Version 6.0d (Build 9848)
Let's say I have a project in VSS. Something like this:
$/Project1
/Dir1
/Dir2
I label the project. When I use the vssdiff / vsshistory tasks to get all
changes since that label, everything works fine.
Now, let's say I want to add another directory (or project in VSS terms). So,
I would have something like this:
$/Project1
/Dir1
/Dir1a
/Dir2
The vssdiff / vsshistory tasks will fail. Everything will work fine if I
label the project again.
The following examples shows output from vsshistory task. It's the same if I
used the vssdiff task.
When vsshistory verbose="false":
[vsshistory] Examining "$/Development_EP/Components/ECL/SVPS"...
[vsshistory] E:\Scripts\Reports\test.build(68,4):
[vsshistory] diff failed
[vsshistory] File or project not found
When vsshistory verbose="true":
[vsshistory] Examining "$/Development_EP/Components/ECL/SVPS"...
[vsshistory] History of "SVPS"...
[vsshistory] E:\Scripts\Reports\test.build(68,4):
[vsshistory] diff failed:
[vsshistory] NAnt.Core.BuildException: E:\Scripts\Reports\test.build(68,4):
[vsshistory] diff failed ---> System.Runtime.InteropServices.COMException (0x800
4D68F): File or project not found
[vsshistory] at SourceSafeTypeLib.IVSSVersion.get_VSSItem()
[vsshistory] at NAnt.Contrib.Tasks.SourceSafe.History.LogChange(IVSSVersion v
ersion) in d:\Source\nantcontrib-20050204T195929Z\src\Tasks\SourceSafe\History.c
s:line 320
[vsshistory] at NAnt.Contrib.Tasks.SourceSafe.History.DiffByLabel(IVSSItem ss
Item) in d:\Source\nantcontrib-20050204T195929Z\src\Tasks\SourceSafe\History.cs:
line 312
[vsshistory] at NAnt.Contrib.Tasks.SourceSafe.History.ItemDiff(IVSSItem ssIte
m) in d:\Source\nantcontrib-20050204T195929Z\src\Tasks\SourceSafe\History.cs:lin
e 255
[vsshistory] at NAnt.Contrib.Tasks.SourceSafe.History.ExecuteTask() in d:\Sou
rce\nantcontrib-20050204T195929Z\src\Tasks\SourceSafe\History.cs:line 237
[vsshistory] --- End of inner exception stack trace ---
[vsshistory] at NAnt.Contrib.Tasks.SourceSafe.History.ExecuteTask() in d:\Sou
rce\nantcontrib-20050204T195929Z\src\Tasks\SourceSafe\History.cs:line 241
[vsshistory] at NAnt.Core.Task.Execute() in d:\Source\nant-20050208T174726Z\s
rc\NAnt.Core\Task.cs:line 169
Felice
-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users