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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="en-us">
  18. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  19. <title>BorlandGenerateClient Task</title>
  20. </head>
  21. <body>
  22. <h2><a name="log">BorlandGenerateClient</a></h2>
  23. <p>by Benoit Moussaud (<a href="mailto:benoit.moussaud@criltelecom.com">benoit.moussaud@criltelecom.com</a>)</p>
  24. <h3>Description</h3>
  25. <p>The BorlandGenerateClient is a task dedicated to Borland Application Server
  26. v 4.5. It offers to generate the client jar file corresponding to an ejb jar
  27. file.</p>
  28. <h3>Parameters</h3>
  29. <table border="1" cellpadding="2" cellspacing="0">
  30. <tr>
  31. <td valign="top" width="63"><b>Attribute</b></td>
  32. <td valign="top" width="915"><b>Description</b></td>
  33. <td align="center" valign="top" width="62"><b>Required</b></td>
  34. </tr>
  35. <tr>
  36. <td valign="top" width="63">ejbjar</td>
  37. <td valign="top" width="915">ejb jar file</td>
  38. <td align="center" valign="middle" width="62">yes</td>
  39. </tr>
  40. <tr>
  41. <td valign="top" width="63">debug</td>
  42. <td valign="top" width="915">If true, turn on the debug mode for each borland
  43. tools (java2iiop, iastool ...) default = false</td>
  44. <td align="center" valign="middle" width="62">no</td>
  45. </tr>
  46. <tr>
  47. <td valign="top" width="63">clientjar</td>
  48. <td valign="top" width="915">client jar file name. If missing the client jar
  49. file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar
  50. =&gt; hellobean-ejbclient.jar</td>
  51. <td align="center" valign="middle" width="62">no</td>
  52. </tr>
  53. <tr>
  54. <td valign="top" width="63">mode</td>
  55. <td valign="top" width="915">choose the command launching mode. Two values:
  56. java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td>
  57. <td align="center" valign="middle" width="62">no</td>
  58. </tr>
  59. <tr>
  60. <td valign="top" width="63">version</td>
  61. <td valign="top" width="915">set the Borland Application Version.
  62. <ul>
  63. <li>4 means B.A.S (Borland Application Server 4.x)</li>
  64. <li>5 means B.E.S (Borland Application Server 5.x)</li>
  65. </ul>
  66. </td>
  67. <td align="center" valign="middle" width="62">No, defaults to 4</td>
  68. </tr>
  69. </table>
  70. <h3>Examples</h3>
  71. <p>The following build.xml snippet is an example of how to use Borland element
  72. into the ejbjar task using the java mode.</p>
  73. <pre>
  74. &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;
  75. &lt;classpath&gt;
  76. &lt;pathelement location=&quot;mymodule.jar&quot;/&gt;
  77. &lt;/classpath&gt;
  78. &lt;/blgenclient&gt;
  79. </pre>
  80. <pre>&nbsp;</pre>
  81. </body>
  82. </html>