Liberty:Ant 作業 - undeploy

undeploy 作業可用來從 Liberty 伺服器移除應用程式。

說明

undeploy 作業支援從 Liberty 伺服器取消部署單一應用程式。

屬性

下表說明 undeploy 作業的屬性。

表 1. undeploy 作業的屬性.

第一個直欄包含一份屬性清單,第二個直欄包含每個屬性的說明,第三個直欄指出是否需要這個屬性。

屬性 說明 必要
installDir Liberty 伺服器的位置。
serverName Liberty 伺服器實例的名稱。預設值為 defaultServer
userDir ${wlp_user_dir} 變數的值。 預設值為 ${installDir}/usr/servers/${serverName}
outputDir ${wlp_output_dir} 變數的值。 預設值為 ${installDir}/usr/servers/${serverName}
file 要移除的應用程式名稱。 應用程式類型可以是 warebaziprarjar
timeout 取消部署順利完成之前的等待時間。 預設值為 30 秒。以毫秒為單位。
ref 參照現有的伺服器作業定義,以重複使用它的伺服器配置。 當設定其他必要的屬性時,這個值可以是空值。

範例

這個範例顯示如何在您的 build.xml 檔中使用 undeploy 作業:
    <wlp:undeploy ref="wlp.ant.test" file="SimpleOSGiApp.eba" timeout="60000" />

指示主題類型的圖示 參照主題



「時間戳記」圖示 前次更新: 2016 年 11 月 30 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwlp_ant_undeploy
檔名:rwlp_ant_undeploy.html