此任务使用“WebSphere 快速部署”功能来安装应用程序。
参数
属性 | 描述 | 必需 |
---|---|---|
文件 | 要安装的应用程序文件 | 是 |
ConfigData | 可选的配置文件 | 否 |
ProjectName | 要创建的 Eclipse 项目的名称 | 否,缺省值为 AutoAppInstall |
PropertyErrorCount | 接收项目错误计数的属性 | 否,缺省值为 ProjectErrorCount |
PropertyErrorMessages | 接收项目错误消息的属性 | 否,缺省值为 ProjectErrorMessages |
ConsoleOutput | 是否要将附加进程消息输出到控制台记录 | 否,缺省值为 false |
示例
<autoAppInstall Files="X:/MyPath/MyTest.jsp" ConfigData="MyConfigData.xml" ConsoleOutput="true" /> <echo message="compiler problem.unusedImport=${unusedImport}" />
<?xml version="1.0" encoding="ASCII"?> <com.ibm.ws.rd.headlessmodel:HeadlessConfiguration xmlns:com.ibm.ws.rd.headlessmodel="http:///com/ibm/ws/rd/headlessmodel.ecore"> <project name="AutoAppInstall" workspaceLocation="X:\MyWorkspace" styleID="Auto Application Install"> <targetServer serverName="server1" serverJMXHost="localhost" serverJMXPort="8880" watchInterval="5"/> </project> </com.ibm.ws.rd.headlessmodel:HeadlessConfiguration>