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.7 KiB

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