org.apache.maven.scm.provider.starteam.command
public class StarteamCommandLineUtils extends Object
Version: $Id: StarteamCommandLineUtils.java 381352 2006-02-27 15:00:06Z evenisse $
Method Summary | |
---|---|
static Commandline | createStarteamBaseCommandLine(String action, StarteamScmProviderRepository repo) |
static Commandline | createStarteamBaseCommandLine(String action, File relativeFileOrDir, StarteamScmProviderRepository repo) |
static String | displayCommandlineWithoutPassword(Commandline cl)
Hellper method to display command line without password
|
static int | executeCommandline(Commandline cl, StreamConsumer consumer, StringStreamConsumer stderr, ScmLogger logger) |
static String | getRelativeChildDirectory(String parent, String child)
Given 2 paths, make sure parent and child are on the same tree
return the port of child that not in parent
|
static String | toJavaPath(String path) |
Parameters: cl
Returns: String
Throws: ScmException
Parameters: parent child
Returns: