Discussion Forum for StarTeam Users
Posted by John Lindwall on February 28, 2001 at 16:39:04:
I'm trying to I use the StarTeam 4.2 stcmd.exe utility on Windows NT. From the GUI I can check out the file "foo.txt". If I try to do the same from the command-line I get an RunTimeException.
Are the permissions allowed from the GUI different from the stcmd.exe utility? Is my command-line defective?
Thanks!
D:\foo>stcmd co - "user:passwd@server:49201/XXX/YYY/ZZZ" foo.txt
StarTeam 4.2 Command Line Interface, Build 4.2.681
Copyright (c) 1997-1999 Starbase Corporation
Using ini file: C:\Program Files\StarTeam 4.0\ConnectionManager.ini
Folder: ZZZ (working dir: D:\ZZZ)
ERROR:You do not have the access rights required to perform this operation.
java.lang.RuntimeException: You do not have the access rights required to perform this operation.
at com/starbase/obsolete/repository/core/View.verifyAccessRights (View.java)
at com/starbase/obsolete/repository/core/View.getConfiguration (View.java)
at com/starbase/obsolete/starteam/core/Server.getViewSession (Server.java)
at com/starbase/obsolete/starteam/core/PopulateMethods$4.execute (PopulateMethods.java)
at com/starbase/obsolete/starteam/core/PopulateMethods.populate (PopulateMethods.java)
at com/starbase/obsolete/starteam/core/Server.populateValues (Server.java)
at com/starbase/obsolete/repository/core/Project.isExpandKeywords (Project.java)
at com/starbase/obsolete/starteam/core/File.usesKeywords (File.java)
at com/starbase/obsolete/starteam/core/File.checkoutCore (File.java)
at com/starbase/obsolete/starteam/core/File.checkout (File.java)
at com/starbase/obsolete/whitestar/client/commandline/co.processOneFile
(co.java)
at com/starbase/obsolete/whitestar/client/commandline/CommonCommand.processFolder (CommonCommand.java)
at com/starbase/obsolete/whitestar/client/commandline/CommonCommand.processEachFile (CommonCommand.java)
at com/starbase/obsolete/whitestar/client/commandline/CommonCommand.runCommand1 (CommonCommand.java)
at com/starbase/obsolete/whitestar/client/commandline/CommonCommand.runCommand (CommonCommand.java)
at com/starbase/obsolete/whitestar/client/commandline/co.run (co.java)
at com/starbase/obsolete/whitestar/client/commandline/Wrapper.main (Wrapper.java)
at stcmd.main (stcmd.java)
Name:
E-Mail:
Subject:
Comments: