/// <summary> /// The text representing this deployment /// </summary> protected override string DeployText(string sourceDir = null) { var sb = new StringBuilder(); sb.Append(To.ToHtmlLink(RelativePathInPack)); sb.Append("<span style='padding-left: 8px; padding-right: 8px;'>in</span>"); sb.Append(PackPath.ToHtmlLink(null, true)); return(sb.ToString()); }
/// <summary> /// Saves an exception in the deploy error /// </summary> public override void RegisterArchiveException(Exception e) { IsOk = false; DeployError = "Problem with the FTP " + PackPath.Quoter() + " : " + e.Message.Quoter(); }
/// <summary> /// Saves an exception in the deploy error /// </summary> public virtual void RegisterArchiveException(Exception e) { IsOk = false; DeployError = "Problem with the target pack " + PackPath.Quoter() + " : " + e.Message.Quoter(); }