John,
I'm guessing that you are using 5.4 or after of
StarTeam. I looked into this, but don't have the C#
skills to figure out a fix. With the 5.4 release,
StarTeam renamed the interop to StarGate54.dll. With
this change, the StarTeam task no longer works with
NAnt.
Eric
--- John Ludlow <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am getting the following error when using the
> <stcheckout> task in NantContrib. Now, I'm guessing
> from the error that there is a COM dll that needs to
> be registered (an interop, perhaps). I tried
> registering Interop.StarTeam.dll with regasm, but to
> no avail. Thanks
>
> C:\c#\build\WindowsApplication1>nant
> NAnt 0.85 (Build 0.85.1583.0; net-1.0.win32;
> nightly; 02/05/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> NAnt Team
>
> Buildfile:
>
file:///C:/c%23/build/WindowsApplication1/WindowsApplication1.build
> Target(s) specified: build
>
> BUILD FAILED
>
> INTERNAL ERROR
>
> System.Reflection.TargetInvocationException:
> Exception has been thrown by the target of an
> invocation. --->
> System.Runtime.InteropServices.COMException
> (0x80040154): COM object with CLSID
> {586974A4-56AB-11D5-B316-0800209CC2CE} is either not
> valid or not registered.
> at
> NAnt.Contrib.Tasks.StarTeam.StarTeamCheckout..ctor()
> in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp30C.tmp\src\Tasks\StarTeam\StarTeamCheckout.cs:line
> 54
> --- 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 binder, Object[] args,
> CultureInfo culture, Object[] activationAttributes)
> at System.Activator.CreateInstance(Type type,
> BindingFlags bindingAttr, Binder binder, Object[]
> args, CultureInfo culture, Object[]
> activationAttributes)
> at
> System.Reflection.Assembly.CreateInstance(String
> typeName, Boolean ignoreCase, BindingFlags
> bindingAttr, Binder binder, Object[] args,
> CultureInfo culture, Object[] activationAttributes)
> at NAnt.Core.TaskBuilder.CreateTask() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\TaskBuilder.cs:line
> 100
> at NAnt.Core.TypeFactory.CreateTask(XmlNode
> taskNode, Project proj) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\TypeFactory.cs:line
> 360
> at NAnt.Core.Project.CreateTask(XmlNode taskNode,
> Target target) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line
> 1012
> at NAnt.Core.Project.CreateTask(XmlNode taskNode)
> in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line
> 1001
> at
>
NAnt.Core.Project.InitializeProjectDocument(XmlDocument
> doc) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line
> 1331
> at NAnt.Core.Project.Execute() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line
> 840
> at NAnt.Core.Project.Run() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line
> 917
>
> Please send bug report to
> [EMAIL PROTECTED]
>
> Total time: 0.1 seconds.
>
> John Ludlow
> Software Build Engineer
> Minorplanet Systems PLC
> www.minorplanet.com
>
>
>
**********************************************************************
> Privileged/Confidential Information may be contained
> in this
> message. If you are not the addressee indicated in
> this
> message (or responsible for delivery of the message
> to such
> person), you must not copy, distribute or take any
> action in
> reliance to it.
> In such case, you should destroy this message and
> kindly
> notify the sender by reply email. Please advise
> immediately
> if you or your employer do not consent to Internet
> email for
> messages of this kind. Opinions, conclusions and
> other
> information in this message that do not relate to
> the official
> business of Minorplanet Systems Plc shall be
> understood as
> neither given nor endorsed by it.
>
**********************************************************************
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers