public class InstallApplication extends WsAdmin
<wsInstallApp
wasHome="location of websphere installation"
ear="the ear file you wish to install"
options="the options to pass to the installation process"
properties="java properties file containing attributes to set in the JVM System properties"
profile="a script file to be executed before the main command or file"
profileName="the profile name of the desired server"
conntype="specifies the type of connection to be used."
host="the host to connect to"
port="the port on the host to connect to"
user="user ID to authenticate with"
password="password to authenticate with"
failonerror="true | false"/>
The wasHome attribute is optional and contains the location of the WebSphere Installation Directory.Constructor and Description |
---|
InstallApplication()
Constructor for InstallApplication.
|
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Commandline.Argument |
createArg()
Creates a nested arg element.
|
void |
execute() |
void |
setCommand(java.lang.String command)
Disabled in this subclass
|
void |
setEar(java.lang.String application)
Sets the ear.
|
void |
setLang(java.lang.String lang)
Disabled in this subclass
|
void |
setOptions(java.lang.String options)
Sets the options.
|
void |
setScript(java.lang.String script)
Disabled in this subclass
|
createJvmarg, isDebug, setConntype, setDebug, setFailonerror, setFileEncoding, setHost, setJvmMaxMemory, setPassword, setPort, setProfile, setProfileName, setProperties, setUser, setWasHome
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public InstallApplication()
public void setCommand(java.lang.String command)
setCommand
in class WsAdmin
command
- The command to setpublic void setLang(java.lang.String lang)
public void setScript(java.lang.String script)
public void setEar(java.lang.String application)
ear
- The ear to setpublic void execute() throws org.apache.tools.ant.BuildException
public void setOptions(java.lang.String options)
options
- The options to setpublic org.apache.tools.ant.types.Commandline.Argument createArg()
WsAdmin
createArg
in class WsAdmin
WsAdmin.createArg()