autoAppInstall
This task uses the WebSphere Rapid Deploy feature to install an application.
Parameters
Attribute Description Required Files The application file to be installed Yes ConfigData An optional configuration file No ProjectName The name of the Eclipse project to create No, default is AutoAppInstall PropertyErrorCount Property to receive the project error count No, default is ProjectErrorCount PropertyErrorMessages Property to receive the project error messages No, default is ProjectErrorMessages ConsoleOutput Whether or not to output extra progress messages to the console log No, default is false Examples
- Install the MyTest application using a configuration file:
<autoAppInstall Files="X:/MyPath/MyTest.jsp" ConfigData="MyConfigData.xml" ConsoleOutput="true" /> <echo message="compiler problem.unusedImport=${unusedImport}" />- An optional configData.xml file:
<?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>
Parent topic
Working with Ant
Related tasks
AppClientExport
EARExport
UtilJar
WARExport