Gentlemen,
I'm trying to use the 'stautolabel' task for incrementing a build number and
receiving the following exception. This is the only thing I can find that
comes close to being able to support this. It's very unclear what a
StarTeam repository is to me so maybe I'm trying to do something I
shouldn't. I've downloaded the StarTeam SDK 5.3, but still getting the
exception.
My goal is only to have a build number and increment this number with each
build for labeling source code in VSS. Any insight would be appreciated.
<<Snippet from my build file>>
property name="DUMP_PATH" value="c:\build\dump" />
<target name="increment_build" depends="init" description="Get Source
code from VSS">
<stautolabel
version="${DUMP_PATH}\versionnumber.xml"
label="Dev-Ready"
/>
</target>
BUILD FAILED
INTERNAL ERROR
System.Reflection.TargetInvocationException: Exception has been thrown by
the ta
rget of an invocation. ---> System.Runtime.InteropServices.COMException
(0x80040
154): COM object with CLSID {586974A4-56AB-11D5-B316-0800209CC2CE} is either
not
valid or not registered.
at NAnt.Contrib.Tasks.StarTeam.StarTeamAutoLabel..ctor()
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean
ignoreC
ase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo
culture
, Object[] activationAttributes)
at NAnt.Core.TaskBuilder.CreateTask()
at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj)
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Thanks,
Mike Bourgeois | Senior Consultant | BearingPoint | Austin, TX
Phone +1.512.542.3511 | Mobile +1.512.567.0190 | Fax +1.512.542.3501
www.BearingPoint.com
******************************************************************************
The information in this email is confidential and may be legally
privileged. Access to this email by anyone other than the
intended addressee is unauthorized. If you are not the intended
recipient of this message, any review, disclosure, copying,
distribution, retention, or any action taken or omitted to be taken
in reliance on it is prohibited and may be unlawful. If you are not
the intended recipient, please reply to or forward a copy of this
message to the sender and delete the message, any attachments,
and any copies thereof from your system.
******************************************************************************
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers