Hey Eric,
I was a bit curious and the star tem client is a free download so I had a quick look at it. It seems that StarTeam.dll is now StarGate54.dll - in C:\Program Files\Starbase\StarGate SDK\Lib. It seems to contain all the types that are referenced by the StarTeam task. You could try creating a new interop dll of the same name as the existing one from the new StarGate54.dll and the task may 'just work'. If they have changed the interfaces significantly the task code might need some changes.


Ian

Ian MacLean wrote:

Not having every used Star Team I'd suggest looking at their docs. From a quick google search I found this:

What languages can I use to develop custom StarTeam utilities?

The StarTeam SDK was originally written in Java. A COM wrapper provides support for languages such as Visual Basic, C++, ASP, PHP, ColdFusion, Delphi and others.


which sort of implies that you need their SDK to get the COM wrapper

at : http://www.codealloy.com/starteamsdkfaq.htm#q3

on that same page it says to download the sdk from http://www.borland.com/products/downloads/download_starteam.html

I could be way off base on this. Anyone using star team feel free to jump in with an informed answer.

Ian

Eric Fetzer wrote:

Iam,

I am guessing that StarTeam.dll no longer exists in
the 5.4 edition.  I've searched my hard drives for it
and only have the Interop.  Any suggestions?

Thanks,
Eric

--- Ian MacLean <[EMAIL PROTECTED]> wrote:


Eric,
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



__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/






--
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

Reply via email to