export function getCurlCmdForDeployingWar()

in src/tasks/tomcatDeployment/tomcatDeployment.ts [51:64]


export function getCurlCmdForDeployingWar(username: string, password: string, warfile: string, url: string): string {
    var args = "--stderr -";
    args += " --fail";
    args += " -o \"" + this.getTomcatResponseOutputFileName() + "\""; 
    args += " -u " + username + ":\"" + password + "\"";
    args += " -T \"" + warfile + "\"";
    args += " " + url;
 
    if (process.env["system_debug"] == "true") {
        args += " -v";
    }
    
    return args;
}