The Command Line Engine is exposed through a public sdk class called Command Processor. so you'd instantiate the processor and execute it via a tiny java program for example import com.starteam.CommandProcessor; CommandProcessor cp = new CommandProcessor(); cp.execute("connect user:password@host:port"); cp.execute("set project = StarDraw view = \"Release 1.0 Maintenance\"); cp.execute("co -rp \"c:\testPath\"); cp.execute("disconnect"); or the stateless -p equivalent cp.execute("co -p \"user:password@host:port/project/view\" -rp \"c:\testPath\"); if you were always running stateless commands in a scripting environment, you're better off with stcmdEx java -jar stcmdEx.jar co -p \"user:password@host:port/project/view\" -rp \"c:\testPath\ which has a built in manifest dependence upon starteam140.jar fwiw, i am posting a new 14.2 patch build in the next hour or so, primarily command line engine bug fixes.
↧