Hi Gert,
Yes, this fixes my problem. Thanks.
Future enhancements that would be nice:
- Setting 'locked' property
- Setting description
- etc...
As I stated, if I get time, I may
look into it myself (I've never collaborated on SourceForge though...
guess there's a bit of learning to do...)
On a side note, moving from RC1 to RC2, I had to stick
<property name="nant.settings.currentframework" value="net-1.0"
/>
in my build file, or I got the error "The SDK for the 'net-1.1'
framework is not available or not configured." (We're still using 1.0)
Troy.
Gert Driesen wrote:
Troy,
This should be fixed in
NAntContrib 0.85 RC2. Let me know if it works for you.
Gert
p4labelsync doesn't seem to
call p4 quite right (I'm using 0.85.1793.0; rc1). If my target is as
follows:
<target
name="label">
<p4label client="${p4.client}"
label="project_subproject_v${assembly.version}"
view="//std/project/subproject/..."/>
<p4labelsync label="project_subproject_v${assembly.version}"
client="${p4.client}"/>
</target>
Using verbose logging I see:
[p4labelsync]
p4 -u username -c username_host labelsync
[p4labelsync] Starting 'p4 ( -u username -c username_host labelsync )'
in 'D:\Troy\project\subproject'
[p4labelsync] Usage: labelsync [-a -d -n] -l label [files...]
It's not passing the name of the label (argument '-l labelname). I
have worked around it as follows:
<p4labelsync
label="project_subproject_v${assembly.version}"
client="${p4.client}">
<arg line="-l project_subproject_v${assembly.version}"/>
</p4labelsync>
To give me:
[p4labelsync]
p4 -u username -c username_host labelsync
[p4labelsync] Starting 'p4 ( -u username -c username_host labelsync -l
project_subproject_v2.6.666.0)' in 'D:\Troy\project\subproject'
[p4labelsync] //std/project/subproject/somefolder/somefile.exe#1 - added
[p4labelsync] //std/project/subproject/somefolder/someotherfile.bat#22
- added
etc...
My feature request is: add an option to allow locking a label.
Thanks!
Troy.
|