I have a problem with vssget. When I don't set the
version attribute vssget works just fine but when I use
the version attribute I get "Invalid OLEVERB structure"
error. Also vssget doesn't take label attribute. How do
I get the specific label out of VSS? Can someone give
me an example? I checked the source code of
NAntContrib(V0.85) didn't see it handles the version
attribute at all. Any idea? below is the script I used
to get specific label out of VSS.
<vssget user="user"
password="pwd"
ocalpath="C:\Work\Build\tmp"
recursive="true"
replace="true"
writable="false"
dbpath="\\Engsw\GsTahoeVss\srcsafe.ini"
path="$/Framework/Server/Core"
verbose="true"
version="fx 1.0.5"
/>
thx
Logged In: YES
user_id=707851
I cannot seem to reproduce this issue here.
Were you using NAntContrib 0.85 RC1 ?
Logged In: YES
user_id=1180363
Yes, I'm using NAntContrib 0.85 RC1 and copied to NAnt
folder. Is there any extra setup I need to make this happen?
I haven't tried the hotfix from Microsoft for VSS 6.0d yet.
But seems it's not the resursive get problem. Another
question is the attribute I should use is 'version' or
'label' if I want to get the specific label source file. I
tried 'label' but get attribute not supported error.
thx for the response. Frustrating here :)
Logged In: YES
user_id=707851
You should use the "version" attribute.
Again, I tried to reproduce your problem, but I can't ...
Logged In: YES
user_id=1031944
Same Problem here, we have a vss structure with sub
projects:
Main Proj
- Proj1
- Proj2
I label "Main Proj" with the "vsslabel" task before retreiving a
labeled version with "vssget" usingthe version attribute.
Only the the files located in the "Main Proj" folder are
retreived not the sub projects, even with the recursive
attribute to true.