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.

BorlandEJBTasks.html 4.9 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Borland EJB Tasks</title>
  5. </head>
  6. <body>
  7. <h2><a name="log">BorlandDeploy</a>Tool</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 BorlandDeployTool is a vendor specific nested element for the Ejbjar optional task.</p>
  11. <p>BorlandDeploymentTool is dedicated to the Borland Application Server 4.5.x and Borland
  12. Enterprise Server 5.x. It generates and compiles the stubs and skeletons for all ejb described into the
  13. Deployment Descriptor, builds the jar file including the support files and
  14. verify whether the produced jar is valid or not.</p>
  15. <h3>Borland element</h3>
  16. <table border="1" cellpadding="2" cellspacing="0">
  17. <tr>
  18. <td valign="top" width="63"><b>Attribute</b></td>
  19. <td valign="top" width="915"><b>Description</b></td>
  20. <td align="center" valign="top" width="62"><b>Required</b></td>
  21. </tr>
  22. <tr>
  23. <td valign="top" width="63">destdir</td>
  24. <td valign="top" width="915">The base directory into which the generated borland
  25. ready jar files are deposited</td>
  26. <td align="center" valign="middle" width="62">yes</td>
  27. </tr>
  28. <tr>
  29. <td valign="top" width="63">debug</td>
  30. <td valign="top" width="915">If true, turn on the debug mode for each borland
  31. tools (java2iiop, iastool ...) default = false</td>
  32. <td align="center" valign="middle" width="62">no</td>
  33. </tr>
  34. <tr>
  35. <td valign="top" width="63">verify</td>
  36. <td valign="top" width="915">If true, turn on the verification at the end
  37. of the jar production (default = false)</td>
  38. <td align="center" valign="middle" width="62">no</td>
  39. </tr>
  40. <tr>
  41. <td valign="top" width="63">verifyargs</td>
  42. <td valign="top" width="915">extra parameter for verify command</td>
  43. <td align="center" valign="middle" width="62">no</td>
  44. </tr>
  45. <tr>
  46. <td valign="top" width="63">suffix</td>
  47. <td valign="top" width="915">String value appended to the basename of the
  48. deployment descriptor to create the filename of the Borland EJB jar file.</td>
  49. <td align="center" valign="middle" width="62">No, defaults to '-ejb.jar'.</td>
  50. </tr>
  51. <tr>
  52. <td valign="top" width="63">basdtd</td>
  53. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  54. DTD which covers the Borland specific deployment descriptors.
  55. This should not be necessary if you have borland in your classpath. If you
  56. do not, you should use a nested
  57. <a href="ejb.html#ejbjar-dtd">&lt;dtd&gt;</a> element, described
  58. in the ejbjar task documentation.</td>
  59. <td align="center" valign="middle" width="62">no</td>
  60. </tr>
  61. <tr>
  62. <td valign="top" width="63">ejbdtd</td>
  63. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  64. ejb-jar DTD in the class hierarchy. This should not be necessary
  65. if you have borland in your classpath. If you do not, you should use a
  66. nested <a href="ejb.html#ejbjar-dtd">&lt;dtd&gt;</a> element,
  67. described in the ejbjar task
  68. documentation. </td>
  69. <td align="center" valign="middle" width="62">no</td>
  70. </tr>
  71. <tr>
  72. <td valign="top" width="63">generateclient </td>
  73. <td valign="top" width="915">If true, turn on the generation of the corresponding
  74. ejbjar (default = false)</td>
  75. <td align="center" valign="middle" width="62">no</td>
  76. </tr>
  77. <tr>
  78. <td valign="top" width="63">version</td>
  79. <td valign="top" width="915">set the Borland Application Version.
  80. <ul>
  81. <li>4 means B.A.S (Borland Application Server) 4.x, target will add ejb-inprise.xml file</li>
  82. <li>5 means B.E.S (Borland Application Server) 5.x, target will add ejb-borland.xml file</li>
  83. </ul>
  84. </td>
  85. <td align="center" valign="middle" width="62">No, defaults to 4</td>
  86. </tr>
  87. </table>
  88. <h3>Examples</h3>
  89. <p>The following build.xml snippet is an example of how to use Borland element
  90. into the ejbjar task</p>
  91. <pre> &lt;ejbjar srcdir=&quot;${build.classes}&quot; basejarname=&quot;vsmp&quot; descriptordir=&quot;${rsc.dir}/hrmanager&quot;&gt;
  92. &lt;borland destdir=&quot;lib&quot; verify=&quot;on&quot; generateclient=&quot;on&quot; version=&quot;5&quot;&gt;
  93. &lt;classpath refid=&quot;classpath&quot;/&gt;
  94. &lt;/borland&gt;
  95. &lt;include name=&quot;**\ejb-jar.xml&quot;/&gt;
  96. &lt;support dir=&quot;${build.classes}&quot;&gt;
  97. &lt;include name=&quot;demo\*.class&quot;/&gt;
  98. &lt;include name=&quot;demo\helper\*.class&quot;/&gt;
  99. &lt;/support&gt;
  100. &lt;/ejbjar&gt;</pre>
  101. <pre>The borland element will generate into the lib dir an ejb jar file using the deployment descriptor placed into the ${rsc.dir}/hrmanager directory.
  102. The verify phase is turned on and the generate client phase as well.
  103. </pre>
  104. <h3>&nbsp;</h3>
  105. <p align="center">Copyright &copy; 2001-2002 Apache Software Foundation. All rights
  106. Reserved.</p>
  107. </body>
  108. </html>