It looks like its not the interop dll thats to blame but the underlyiny COM library. Find that dll and regsvr it again. I'm assuming is called StarTeam.dll based on the name of the interop library. regsvr32 won't do anything for com wrapper assemblies.
Ian Eric Fetzer wrote:
My apologies in advance. I am submitting this question to NAntDev also because I am not sure of the audience on NAntContribDev. I am running version 5.4 of StarTeam and the STCheckOut task seems to no longer work. I searched my SDK folder for the Interop dll, but it appears to have been discarded. The dll is included in the NAntContrib bin, but doesn't seem to work for me. I tried registering it with regsvr32 to no avail. Any help?
_____________________________
When I try to perform a STCheckout with:
<project name="StarTeam" default="checkOut" >
<property name="ST.url" value="MyUser:[EMAIL PROTECTED]:49202/Project/View"/> <target name="StarTeam" description="get the code">
<stcheckout locktype="unchanged" recursive="true" url="${ST.url}" />
</target> </project>
I get the following error:
D:\projects>nant -f:StarTeam.build NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net
Buildfile: file:///D:/projects/StarTeam.build Target(s) specified: getLatest
getLatest:
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.StarTeamCheckout..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.TaskContainer.CreateChildTask(XmlNode node) at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks() at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals) at NAnt.Core.Tasks.LoopTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run()
Please send bug report to [EMAIL PROTECTED]
Total time: 0.2 seconds.
Any help?
Thanks, Eric
__________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
