by Benoit Moussaud (benoit.moussaud@criltelecom.com)
The BorlandGenerateClient is a task dedicated to Borland Application Server v 4.5. It offers to generate the client jar file corresponding to an EJB jar file.
| Attribute | Description | Required |
|---|---|---|
| ejbjar | EJB jar file | yes |
| debug | If true, turn on the debug mode for each Borland tool ( java2iiop, iastool, ...) |
no; default false |
| clientjar | client jar file name. If missing the client jar file name is build using
the ejbjar file name: ejbjar=hellobean-ejb.jar⇒ hellobean-ejbclient.jar |
no |
| mode | choose the command launching mode. Two values: javaor fork(default). javais not supported for version= 5. Possibility to specify a classpath. |
no |
| version | set the Borland Application Version.
|
No; defaults to 4 |
The following build.xml snippet is an example of how to use Borland element in
the ejbjar task using the fork
mode.
<blgenclient ejbjar="lib/secutest-ejb.jar" clientjar="lib/client.jar" debug="true" mode="fork" version="5">
<classpath>
<pathelement location="mymodule.jar"/>
</classpath>
</blgenclient>