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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <p>Benoit Moussaud maintains a separate <a
  16. href="http://www.moussaud.org/ejbjar.html">FAQ</a> for this task at
  17. his homepage.</p>
  18. <h3>Borland element</h3>
  19. <table border="1" cellpadding="2" cellspacing="0">
  20. <tr>
  21. <td valign="top" width="63"><b>Attribute</b></td>
  22. <td valign="top" width="915"><b>Description</b></td>
  23. <td align="center" valign="top" width="62"><b>Required</b></td>
  24. </tr>
  25. <tr>
  26. <td valign="top" width="63">destdir</td>
  27. <td valign="top" width="915">The base directory into which the generated borland
  28. ready jar files are deposited</td>
  29. <td align="center" valign="middle" width="62">yes</td>
  30. </tr>
  31. <tr>
  32. <td valign="top" width="63">debug</td>
  33. <td valign="top" width="915">If true, turn on the debug mode for each borland
  34. tools (java2iiop, iastool ...) default = false</td>
  35. <td align="center" valign="middle" width="62">no</td>
  36. </tr>
  37. <tr>
  38. <td valign="top" width="63">verify</td>
  39. <td valign="top" width="915">If true, turn on the verification at the end
  40. of the jar production (default = false)</td>
  41. <td align="center" valign="middle" width="62">no</td>
  42. </tr>
  43. <tr>
  44. <td valign="top" width="63">verifyargs</td>
  45. <td valign="top" width="915">extra parameter for verify command</td>
  46. <td align="center" valign="middle" width="62">no</td>
  47. </tr>
  48. <tr>
  49. <td valign="top" width="63">suffix</td>
  50. <td valign="top" width="915">String value appended to the basename of the
  51. deployment descriptor to create the filename of the Borland EJB jar file.</td>
  52. <td align="center" valign="middle" width="62">No, defaults to '-ejb.jar'.</td>
  53. </tr>
  54. <tr>
  55. <td valign="top" width="63">basdtd</td>
  56. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  57. DTD which covers the Borland specific deployment descriptors.
  58. This should not be necessary if you have borland in your classpath. If you
  59. do not, you should use a nested
  60. <a href="ejb.html#ejbjar-dtd">&lt;dtd&gt;</a> element, described
  61. in the ejbjar task documentation.</td>
  62. <td align="center" valign="middle" width="62">no</td>
  63. </tr>
  64. <tr>
  65. <td valign="top" width="63">ejbdtd</td>
  66. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  67. ejb-jar DTD in the class hierarchy. This should not be necessary
  68. if you have borland in your classpath. If you do not, you should use a
  69. nested <a href="ejb.html#ejbjar-dtd">&lt;dtd&gt;</a> element,
  70. described in the ejbjar task
  71. documentation. </td>
  72. <td align="center" valign="middle" width="62">no</td>
  73. </tr>
  74. <tr>
  75. <td valign="top" width="63">generateclient </td>
  76. <td valign="top" width="915">If true, turn on the generation of the corresponding
  77. ejbjar (default = false)</td>
  78. <td align="center" valign="middle" width="62">no</td>
  79. </tr>
  80. <tr>
  81. <td valign="top" width="63">version</td>
  82. <td valign="top" width="915">set the Borland Application Version.
  83. <ul>
  84. <li>4 means B.A.S (Borland Application Server) 4.x, target will add ejb-inprise.xml file</li>
  85. <li>5 means B.E.S (Borland Application Server) 5.x, target will add ejb-borland.xml file</li>
  86. </ul>
  87. </td>
  88. <td align="center" valign="middle" width="62">No, defaults to 4</td>
  89. </tr>
  90. <tr>
  91. <td valign="top" width="63">java2iiopParams </td>
  92. <td valign="top" width="915">If filled, the params are added to the java2iiop command (ex: -no_warn_missing_define)</td>
  93. <td align="center" valign="middle" width="62">no</td>
  94. </tr>
  95. </table>
  96. <h3>Examples</h3>
  97. <p>The following build.xml snippet is an example of how to use Borland element
  98. into the ejbjar task</p>
  99. <pre> &lt;ejbjar srcdir=&quot;${build.classes}&quot; basejarname=&quot;vsmp&quot; descriptordir=&quot;${rsc.dir}/hrmanager&quot;&gt;
  100. &lt;borland destdir=&quot;lib&quot; verify=&quot;on&quot; generateclient=&quot;on&quot; version=&quot;5&quot;&gt;
  101. &lt;classpath refid=&quot;classpath&quot;/&gt;
  102. &lt;/borland&gt;
  103. &lt;include name=&quot;**\ejb-jar.xml&quot;/&gt;
  104. &lt;support dir=&quot;${build.classes}&quot;&gt;
  105. &lt;include name=&quot;demo\*.class&quot;/&gt;
  106. &lt;include name=&quot;demo\helper\*.class&quot;/&gt;
  107. &lt;/support&gt;
  108. &lt;/ejbjar&gt;</pre>
  109. <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.
  110. The verify phase is turned on and the generate client phase as well.
  111. </pre>
  112. <h3>&nbsp;</h3>
  113. <p align="center">Copyright &copy; 2001-2003 Apache Software Foundation. All rights
  114. Reserved.</p>
  115. </body>
  116. </html>