コード例 #1
0
        /// <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());
        }
コード例 #2
0
 /// <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();
 }
コード例 #3
0
 /// <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();
 }