<fuego.j2ee : deploy>

Description

Deploys ear files to the App Server.

The deployment is done via the Fuego J2EE Deployer application, which must be deployed and available for this task to work.

Refer to the Fuego J2EE Deployer documentation for details.

Example:


  <target name="deploy-ear" description="Deploy ear">
      <fuego.j2ee:deploy
             earFile="${ear.file}"
             targetName="${server.name}"
             url="http://host:port/fuego/deployer/servlet/worker"/>
  </target>
 

Parameters

Attribute Description Type Required?
targetname The name of the server or cluster were the operation will be performed. String Yes
url The location URL of the deployer web application. Remember that the url should end in "servlet/worker" Example "http://host:port/fuego/deployer/servlet/worker". String Yes
startafterdeploying Start the applications after being deployed. boolean No Defaults to False
verbose boolean ?
earspath Specify multiple ear files located in this path. String Yes cannot be used together with earfile
fuegobasedir File ?
loaderref Reference ?
cluster If the target WebSphere server is clustered or not. boolean No Defaults False
failonerror Whether to stop the ant build process if an error occurs during the execution of this task. boolean No Defaults to false
earfile Specify the ear file to be deployed String Yes cannot be used together with earspath

Parameters accepted as nested elements