public class WsEjbDeploy
extends org.apache.tools.ant.Task
<wsejbdeploy inputJar="ejb jar file or Ear file"
wasHome="WebSphere Installation Directory"
workingDirectory="temp directory"
outputJar="output ejb jar file or Ear file"
classpath="ear classes"
classpathref="ear classes element reference"
codegen="true | false"
dbname="Database name"
dbschema="Database Schema Name"
dbvendor="Database Vendor"
dynamic="Enable Dynamic Query Support"
keepGenerated="true | false"
quiet="true | false"
noValidate="true | false"
noWarnings="true | false"
noInform="true | false"
rmicOptions="rmic options"
compatible35="true | false"
sqlj="true | false"
failonerror="true | false"
trace="true | false"
jvmMaxMemory="256M"
jdkComplianceLevel="1.4 | 5.0 | 6.0"
.
.
.
systemProperty value=""/>
The wasHome attribute is optional and contains the location of the WebSphere Installation Directory.Modifier and Type | Field and Description |
---|---|
protected com.ibm.ws.ant.utils.WasUtils |
wasUtils |
Constructor and Description |
---|
WsEjbDeploy()
Constructor for WsEjbDeploy
|
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Maybe creates a nested classpath element.
|
org.apache.tools.ant.types.Commandline.Argument |
createSystemProperty()
Creates a nested arg element.
|
void |
execute() |
boolean |
isDebug()
Is debugging enabled?
|
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Sets the classpath
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere.
|
void |
setCodegen(boolean codegen)
Sets the codegen
|
void |
setCompatible35(boolean compatible35)
Sets the compatible35
|
void |
setDbname(java.lang.String dbname)
Sets the dbname
|
void |
setDbschema(java.lang.String dbschema)
Sets the dbschema
|
void |
setDbvendor(java.lang.String dbvendor)
Sets the dbvendor
|
void |
setDebug(boolean debug)
Setter for enabling debugging
|
void |
setDynamic(boolean dynamic)
Sets the dynamic
|
void |
setFailonerror(boolean failonerror)
Sets the failonerror.
|
void |
setIgnoreErrors(boolean ignoreErrors)
Sets the ignoreErrors
|
void |
setInputJar(java.io.File inputJar)
Sets the inputJar
|
void |
setJdkComplianceLevel(java.lang.String complianceLevel)
Sets the jdk compliance level for ejbdeploy
|
void |
setJvmMaxMemory(java.lang.String jvmMaxMemory)
Sets the jvmMaxMemory.
|
void |
setKeepGenerated(boolean keepGenerated)
Sets the keepGenerated
|
void |
setLog(boolean log) |
void |
setNoInform(boolean noInform)
Sets the noInform
|
void |
setNoValidate(boolean noValidate)
Sets the noValidate
|
void |
setNoWarnings(boolean noWarnings)
Sets the noWarnings
|
void |
setOutputJar(java.io.File outputJar)
Sets the outputJar
|
void |
setQuiet(boolean quiet)
Sets the quiet
|
void |
setRmicOptions(java.lang.String rmicOptions)
Sets the rmicOptions
|
void |
setSqlj(boolean sqlj)
Sets the sqlj
|
void |
setTrace(boolean trace)
Sets the trace
|
void |
setWasHome(java.lang.String wasHome)
Sets the wasHome.
|
void |
setWorkingDirectory(java.io.File workingDirectory)
Sets the workingDirectory
|
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 org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- The classpath to setpublic void setCodegen(boolean codegen)
codegen
- The codegen to setpublic void setCompatible35(boolean compatible35)
compatible35
- The compatible35 to setpublic void setSqlj(boolean sqlj)
sqlj
- The sqlj to setpublic void setDbname(java.lang.String dbname)
dbname
- The dbname to setpublic void setDbschema(java.lang.String dbschema)
dbschema
- The dbschema to setpublic void setDbvendor(java.lang.String dbvendor)
dbvendor
- The dbvendor to setpublic void setIgnoreErrors(boolean ignoreErrors)
ignoreErrors
- The ignoreErrors to setpublic void setInputJar(java.io.File inputJar)
inputJar
- The inputJar to setpublic void setKeepGenerated(boolean keepGenerated)
keepGenerated
- The keepGenerated to setpublic void setDynamic(boolean dynamic)
dynamic
- The dynamic to setpublic void setNoInform(boolean noInform)
noInform
- The noInform to setpublic void setNoValidate(boolean noValidate)
noValidate
- The noValidate to setpublic void setNoWarnings(boolean noWarnings)
noWarnings
- The noWarnings to setpublic void setOutputJar(java.io.File outputJar)
outputJar
- The outputJar to setpublic void setQuiet(boolean quiet)
quiet
- The quiet to setpublic void setRmicOptions(java.lang.String rmicOptions)
rmicOptions
- The rmicOptions to setpublic void setTrace(boolean trace)
trace
- The trace to setpublic void setLog(boolean log)
public void setJdkComplianceLevel(java.lang.String complianceLevel)
complianceLevel
- public void setWorkingDirectory(java.io.File workingDirectory)
workingDirectory
- The workingDirectory to setpublic void setWasHome(java.lang.String wasHome)
wasHome
- The wasHome to setpublic void setFailonerror(boolean failonerror)
failonerror
- The failonerror to setpublic void setJvmMaxMemory(java.lang.String jvmMaxMemory)
jvmMaxMemory
- The JVM MaxMemory to setpublic boolean isDebug()
public void setDebug(boolean debug)
debug
- public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public org.apache.tools.ant.types.Commandline.Argument createSystemProperty()