public class BorlandGenerateClient extends Task
Constructor and Description |
---|
BorlandGenerateClient() |
Modifier and Type | Method and Description |
---|---|
Path |
createClasspath()
Adds path to the classpath.
|
void |
execute()
Do the work.
|
protected void |
executeFork()
launch the generate client using system api.
|
protected void |
executeForkV4()
launch the generate client using system api.
|
protected void |
executeForkV5()
launch the generate client using system api.
|
protected void |
executeJava()
launch the generate client using java api.
|
void |
setClasspath(Path classpath)
Path to use for classpath.
|
void |
setClasspathRef(Reference r)
Reference to existing path, to use as a classpath.
|
void |
setClientjar(File clientjar)
Client JAR file name.
|
void |
setDebug(boolean debug)
If true, turn on the debug mode for each of the Borland tools launched.
|
void |
setEjbjar(File ejbfile)
EJB JAR file.
|
void |
setMode(String s)
Command launching mode: java or fork.
|
void |
setVersion(int version)
Set the version attribute.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public Path createClasspath()
public void execute() throws BuildException
execute
in class Task
BuildException
- if something goes wrong with the buildprotected void executeFork() throws BuildException
BuildException
- if there is an error.protected void executeForkV4() throws BuildException
BuildException
- if there is an error.protected void executeForkV5() throws BuildException
BuildException
- if there is an error.protected void executeJava() throws BuildException
BuildException
- if there is an error.public void setClasspath(Path classpath)
classpath
- the path to use.public void setClasspathRef(Reference r)
r
- the reference to use.public void setClientjar(File clientjar)
clientjar
- the file to use.public void setDebug(boolean debug)
debug
- a boolean
value.public void setEjbjar(File ejbfile)
ejbfile
- the file to use.public void setMode(String s)
s
- the mode to use.public void setVersion(int version)
version
- the value to use.