org.apache.tools.ant.taskdefs.optional.ejb
Class BorlandGenerateClient
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
- public class BorlandGenerateClient
- extends Task
BorlandGenerateClient is dedicated to the Borland Application Server 4.5
This task generates the client jar using as input the ejb jar file.
Two mode are available: java mode (default) and fork mode. With the fork mode,
it is impossible to add classpath to the commmand line.
- Author:
- Benoit Moussaud
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorlandGenerateClient
public BorlandGenerateClient()
setMode
public void setMode(java.lang.String s)
setDebug
public void setDebug(boolean debug)
setEjbjar
public void setEjbjar(java.io.File ejbfile)
setClientjar
public void setClientjar(java.io.File clientjar)
setClasspath
public void setClasspath(Path classpath)
createClasspath
public Path createClasspath()
setClasspathRef
public void setClasspathRef(Reference r)
execute
public void execute()
throws BuildException
- Do the work.
The work is actually done by creating a separate JVM to run a java task.
- Overrides:
execute
in class Task
- Throws:
BuildException
- if someting goes wrong with the build
executeJava
protected void executeJava()
throws BuildException
- launch the generate client using java api
executeFork
protected void executeFork()
throws BuildException
- launch the generate client using system api
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.