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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <h3>Description</h3>
  9. <p>The BorlandDeployTool is a vendor specific nested element for the Ejbjar optional task.</p>
  10. <p>BorlandDeploymentTool is dedicated to the Borland Application Server 4.5. It
  11. generates and compiles the stubs and skeletons for all ejb described into the
  12. Deployment Descriptor, builds the jar file including the support files and
  13. verify whether the produced jar is valid or not.</p>
  14. <h3>Borland element</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">destdir</td>
  23. <td valign="top" width="915">The base directory into which the generated borland
  24. ready jar files are deposited</td>
  25. <td align="center" valign="middle" width="62">yes</td>
  26. </tr>
  27. <tr>
  28. <td valign="top" width="63">debug</td>
  29. <td valign="top" width="915">If true, turn on the debug mode for each borland
  30. tools (java2iiop, iastool ...) default = false</td>
  31. <td align="center" valign="middle" width="62">no</td>
  32. </tr>
  33. <tr>
  34. <td valign="top" width="63">verify</td>
  35. <td valign="top" width="915">If true, turn on the verification at the end
  36. of the jar production (default = false)</td>
  37. <td align="center" valign="middle" width="62">no</td>
  38. </tr>
  39. <tr>
  40. <td valign="top" width="63">verifyargs</td>
  41. <td valign="top" width="915">extra parameter for verify command</td>
  42. <td align="center" valign="middle" width="62">no</td>
  43. </tr>
  44. <tr>
  45. <td valign="top" width="63">suffix</td>
  46. <td valign="top" width="915">String value appended to the basename of the
  47. deployment descriptor to create the filename of the Borland EJB jar file.</td>
  48. <td align="center" valign="middle" width="62">No, defaults to '-ejb.jar'.</td>
  49. </tr>
  50. <tr>
  51. <td valign="top" width="63">basdtd</td>
  52. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  53. weblogic-ejb-jar DTD which covers the Borland specific deployment descriptors.
  54. This should not be necessary if you have borland in your classpath. If you
  55. do not, you should use a nested &lt;dtd&gt; element, described above</td>
  56. <td align="center" valign="middle" width="62">no</td>
  57. </tr>
  58. <tr>
  59. <td valign="top" width="63">ejbdtd</td>
  60. <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
  61. ejb-jar DTD in the weblogic class hierarchy. This should not be necessary
  62. if you have weblogic in your classpath. If you do not, you should use a
  63. nested &lt;dtd&gt; element, described above. </td>
  64. <td align="center" valign="middle" width="62">no</td>
  65. </tr>
  66. <tr>
  67. <td valign="top" width="63">generateclient </td>
  68. <td valign="top" width="915">If true, turn on the generation of the corresponding
  69. ejbjar (default = false)</td>
  70. <td align="center" valign="middle" width="62">no</td>
  71. </tr>
  72. </table>
  73. <h3>Examples</h3>
  74. <p>The following build.xml snippet is an example of how to use Borland element
  75. into the ejbjar task</p>
  76. <pre> &lt;ejbjar srcdir=&quot;${build.classes}&quot; basejarname=&quot;vsmp&quot; descriptordir=&quot;${rsc.dir}/hrmanager&quot;&gt;
  77. &lt;borland destdir=&quot;lib&quot; verify=&quot;on&quot; generateclient=&quot;on&quot;&gt;
  78. &lt;classpath refid=&quot;classpath&quot; /&gt;
  79. &lt;/borland&gt;
  80. &lt;include name=&quot;**\ejb-jar.xml&quot;/&gt;
  81. &lt;support dir=&quot;${build.classes}&quot;&gt;
  82. &lt;include name=&quot;demo\*.class&quot;/&gt;
  83. &lt;include name=&quot;demo\helper\*.class&quot;/&gt;
  84. &lt;/support&gt;
  85. &lt;/ejbjar&gt;</pre>
  86. <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.
  87. The verify phase is turned on and the generate client phase as well.
  88. </pre>
  89. <h3>&nbsp;</h3>
  90. <p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  91. Reserved.</p>
  92. </body>
  93. </html>