<html> <head> <meta http-equiv="Content-Language" content="en-us"> <title>BorlandGenerateClient Task</title> </head> <body> <h2><a name="log">BorlandGenerateClient</a></h2> <p>by Benoit Moussaud (<a href="mailto:benoit.moussaud@criltelecom.com">benoit.moussaud@criltelecom.com</a>)</p> <h3>Description</h3> <p>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.</p> <h3>Parameters</h3> <table border="1" cellpadding="2" cellspacing="0"> <tr> <td valign="top" width="63"><b>Attribute</b></td> <td valign="top" width="915"><b>Description</b></td> <td align="center" valign="top" width="62"><b>Required</b></td> </tr> <tr> <td valign="top" width="63">ejbjar</td> <td valign="top" width="915">ejb jar file</td> <td align="center" valign="middle" width="62">yes</td> </tr> <tr> <td valign="top" width="63">debug</td> <td valign="top" width="915">If true, turn on the debug mode for each borland tools (java2iiop, iastool ...) default = false</td> <td align="center" valign="middle" width="62">no</td> </tr> <tr> <td valign="top" width="63">clientjar</td> <td valign="top" width="915">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</td> <td align="center" valign="middle" width="62">no</td> </tr> <tr> <td valign="top" width="63">mode</td> <td valign="top" width="915">choose the command launching mode. Two values: java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td> <td align="center" valign="middle" width="62">no</td> </tr> <tr> <td valign="top" width="63">version</td> <td valign="top" width="915">set the Borland Application Version. <ul> <li>4 means B.A.S (Borland Application Server 4.x)</li> <li>5 means B.E.S (Borland Application Server 5.x)</li> </ul> </td> <td align="center" valign="middle" width="62">No, defaults to 4</td> </tr> </table> <h3>Examples</h3> <p>The following build.xml snippet is an example of how to use Borland element into the ejbjar task using the java mode.</p> <pre> <blgenclient ejbjar="lib/secutest-ejb.jar" clientjar="lib/client.jar" debug="true" mode="fork"> version="5"> <classpath> <pathelement locacation="mymodule.jar"/> </classpath> </blgenclient> </pre> <pre> </pre> <p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.</p> </body> </html>