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

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