public class BorlandGenerateClient extends Task
description, location, project| 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(java.io.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(java.io.File ejbfile)
EJB JAR file.
|
void |
setMode(java.lang.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, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setVersion(int version)
version - the value to use.public void setMode(java.lang.String s)
s - the mode to use.public void setDebug(boolean debug)
debug - a boolean value.public void setEjbjar(java.io.File ejbfile)
ejbfile - the file to use.public void setClientjar(java.io.File clientjar)
clientjar - the file to use.public void setClasspath(Path classpath)
classpath - the path to use.public Path createClasspath()
public void setClasspathRef(Reference r)
r - the reference to use.public void execute()
throws BuildException
execute in class TaskBuildException - if something goes wrong with the buildprotected void executeJava()
throws BuildException
BuildException - if there is an error.protected 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.