[14627] | 1 | <html>
|
---|
| 2 |
|
---|
| 3 | <head>
|
---|
| 4 | <meta http-equiv="Content-Language" content="en-us">
|
---|
| 5 | <title>BorlandGenerateClient Task</title>
|
---|
| 6 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
| 7 | </head>
|
---|
| 8 |
|
---|
| 9 | <body>
|
---|
| 10 |
|
---|
| 11 | <h2><a name="log">BorlandGenerateClient</a></h2>
|
---|
| 12 | <p>by Benoit Moussaud (<a href="mailto:[email protected]">[email protected]</a>)</p>
|
---|
| 13 | <h3>Description</h3>
|
---|
| 14 | <p>The BorlandGenerateClient is a task dedicated to Borland Application Server
|
---|
| 15 | v 4.5. It offers to generate the client jar file corresponding to an ejb jar
|
---|
| 16 | file.</p>
|
---|
| 17 | <h3>Parameters</h3>
|
---|
| 18 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
| 19 | <tr>
|
---|
| 20 | <td valign="top" width="63"><b>Attribute</b></td>
|
---|
| 21 | <td valign="top" width="915"><b>Description</b></td>
|
---|
| 22 | <td align="center" valign="top" width="62"><b>Required</b></td>
|
---|
| 23 | </tr>
|
---|
| 24 | <tr>
|
---|
| 25 | <td valign="top" width="63">ejbjar</td>
|
---|
| 26 | <td valign="top" width="915">ejb jar file</td>
|
---|
| 27 | <td align="center" valign="middle" width="62">yes</td>
|
---|
| 28 | </tr>
|
---|
| 29 | <tr>
|
---|
| 30 | <td valign="top" width="63">debug</td>
|
---|
| 31 | <td valign="top" width="915">If true, turn on the debug mode for each borland
|
---|
| 32 | tools (java2iiop, iastool ...) default = false</td>
|
---|
| 33 | <td align="center" valign="middle" width="62">no</td>
|
---|
| 34 | </tr>
|
---|
| 35 | <tr>
|
---|
| 36 | <td valign="top" width="63">clientjar</td>
|
---|
| 37 | <td valign="top" width="915">client jar file name. If missing the client jar
|
---|
| 38 | file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar
|
---|
| 39 | => hellobean-ejbclient.jar</td>
|
---|
| 40 | <td align="center" valign="middle" width="62">no</td>
|
---|
| 41 | </tr>
|
---|
| 42 | <tr>
|
---|
| 43 | <td valign="top" width="63">mode</td>
|
---|
| 44 | <td valign="top" width="915">choose the command launching mode. Two values:
|
---|
| 45 | java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td>
|
---|
| 46 | <td align="center" valign="middle" width="62">no</td>
|
---|
| 47 | </tr>
|
---|
| 48 | <tr>
|
---|
| 49 | <td valign="top" width="63">version</td>
|
---|
| 50 | <td valign="top" width="915">set the Borland Application Version.
|
---|
| 51 | <ul>
|
---|
| 52 | <li>4 means B.A.S (Borland Application Server 4.x)</li>
|
---|
| 53 | <li>5 means B.E.S (Borland Application Server 5.x)</li>
|
---|
| 54 | </ul>
|
---|
| 55 | </td>
|
---|
| 56 | <td align="center" valign="middle" width="62">No, defaults to 4</td>
|
---|
| 57 | </tr>
|
---|
| 58 | </table>
|
---|
| 59 |
|
---|
| 60 | <h3>Examples</h3>
|
---|
| 61 | <p>The following build.xml snippet is an example of how to use Borland element
|
---|
| 62 | into the ejbjar task using the java mode.</p>
|
---|
| 63 | <pre>
|
---|
| 64 | <blgenclient ejbjar="lib/secutest-ejb.jar" clientjar="lib/client.jar" debug="true" mode="fork"> version="5">
|
---|
| 65 | <classpath>
|
---|
| 66 | <pathelement location="mymodule.jar"/>
|
---|
| 67 | </classpath>
|
---|
| 68 | </blgenclient>
|
---|
| 69 | </pre>
|
---|
| 70 | <pre> </pre>
|
---|
| 71 |
|
---|
| 72 | <p align="center">Copyright © 2001-2002,2004 The Apache Software Foundation. All rights
|
---|
| 73 | Reserved.</p>
|
---|
| 74 |
|
---|
| 75 | </body>
|
---|
| 76 | </html>
|
---|
| 77 |
|
---|