public BuildProcess(string buildDocPath, string[] version) { cwUtil = new CWLibrary(); ioUtil = new IOLibrary(); this.Version = version; this.buildDoc = buildDocPath; this.buildVersion = version[0] + "." + version[1] + "." + version[2] + " Rev " + version[3]; this.buildFolder = Path.Combine(ioUtil.GetParentFolderFromFilePath(buildDocPath), "BUILDS", this.buildVersion); cwUtil.SetCellBuildVersion(buildDocPath, version); }
public PatchTemplate(string docPath) { cwUtil = new CWLibrary(); ioUtil = new IOLibrary(); this.buildDocPath = docPath; }