You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

BorlandGenerateClient.html 2.8 KiB

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