Can't connect to starteam
I am trying to configure TeamCity on my computer (Windows XP) for a demo in hopes it can be considered instead of Hudson. Unfortunately, we use starteam and I can't get it to work. I have installed team city and am trying to create a VCS Root for Starteam. After I enter all of my information and then click the "Test Connection" button, I get the following errors in the logs:
Caused by: com.borland.starteam.impl.SDKRuntimeException: The native library "Borland.StarTeam.FileAccess02.dll" was not found. Please verify that the StarTeam SDK is properly installed.
at com.borland.starteam.impl.util.NativeFileAccess.init(Unknown Source)
at com.borland.starteam.impl.util.NativeFileAccess.<init>(Unknown Source)
at com.borland.starteam.impl.util.Platform.<clinit>(Unknown Source)
... 39 more
Caused by: java.lang.UnsatisfiedLinkError: no Borland.StarTeam.FileAccess02 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
... 42 more
I have the Starteam SDK in the WEB-INF directory and am not sure what else needs to be done. I hope to get this working soon or TeamCity will not likely be considered here.
Thanks in advance for the help.
Please sign in to leave a comment.
Hello,
Just placing StarTeam jars in the WEB-INF directory isn't enough.
You should install the StarTeam SDK on this machine.
I have starteam installed on my machine. I use it with Intellij, Eclipse and have the starteam client running. What else do I need to do?
What version of SDK is installed? Does the jar in WEB-INF/lib correspond to the installed SDK?
I've gotten it to work. Basically, I have an administrator account and an account that is not administrator. I use the non-administrator account for everything except installs. Looks like teamcity doesn't work with starteam unless i run teamcity with the administrator account. not having this problem with other apps but that's fine. At least it's working. It's a strange setup - having to install things with one account and run them with another. Thanks for all of your very quick responses.
And you also run IDEA and Eclipse under regular account?
Yes, I run them both with my non-admin account. I also run Hudson and the Starteam client with the regular accounts.
So everything seems to be working except I can't get the findbugs report to work.I am getting the following error. I can go to that directory and there are several xml files. I have tried several patterns and can'g get it to work. What am I missing?
[16:47:46]: [FindBugs report watcher] no files found
[16:47:46]: [FindBugs report watcher] C:\tools\TeamCity\buildAgent\work\57c96d064ab1ee34\source\testall\bin\findbugs-output\*.xml: no files found
Then it's very strange StarTeam isn't working with TeamCity. Are you sure you're not running it as a service?
I guess I should post a new issue for this...
I notified the responsible developer. She will contact you soon
OK. thanks. I'll wait to hear from her.
Hello,
Could you, please, attach the entire build log and agent log (file at C:\tools\TeamCity\buildAgent\logs\teamcity-agent.log) for us to learn the state of affairs.
not sure I can upload to this public directory without violating security policies here...
you can send it to teamcity-feedback (at) jetbrains.com
I just sent it.
Is there somewhere I can see a sample of the findbugs report until this is working?
Nevermind. Looks like I got it working. Not sure why it wasn't picking up the files before but now it is finding them. Not sure why. Since it's working now I don't need any more support on this. Thanks.
Thanks for information anyway.