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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 id="log">BorlandGenerateClient</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 v 4.5. It offers to
  26. generate the client jar file corresponding to an EJB jar file.</p>
  27. <h3>Parameters</h3>
  28. <table class="attr">
  29. <tr>
  30. <th>Attribute</th>
  31. <th>Description</th>
  32. <th>Required</th>
  33. </tr>
  34. <tr>
  35. <td>ejbjar</td>
  36. <td>EJB jar file</td>
  37. <td>yes</td>
  38. </tr>
  39. <tr>
  40. <td>debug</td>
  41. <td>If <q>true</q>, turn on the debug mode for each Borland tool
  42. (<code>java2iiop</code>, <code>iastool</code>, ...)</td>
  43. <td>no; default <q>false</q></td>
  44. </tr>
  45. <tr>
  46. <td>clientjar</td>
  47. <td>client jar file name. If missing the client jar file name is build using
  48. the <var>ejbjar</var> file name: <var>ejbjar</var>=<q>hellobean-ejb.jar</q>
  49. &rArr; <q>hellobean-ejbclient.jar</q></td>
  50. <td>no</td>
  51. </tr>
  52. <tr>
  53. <td>mode</td>
  54. <td>choose the command launching mode. Two values: <q>java</q> or <q>fork</q>
  55. (default). <q>java</q> is not supported for <var>version</var>=<q>5</q>. Possibility to
  56. specify a classpath.</td>
  57. <td>no</td>
  58. </tr>
  59. <tr>
  60. <td>version</td>
  61. <td>set the Borland Application Version.
  62. <ul>
  63. <li><q>4</q> means B.A.S (Borland Application Server 4.x)</li>
  64. <li><q>5</q> means B.E.S (Borland Application Server 5.x)</li>
  65. </ul>
  66. </td>
  67. <td>No; defaults to <q>4</q></td>
  68. </tr>
  69. </table>
  70. <h3>Examples</h3>
  71. <p>The following <samp>build.xml</samp> snippet is an example of how to use Borland element in
  72. the <code>ejbjar</code> task using the <q>fork</q> <var>mode</var>.</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; 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;</pre>
  79. </body>
  80. </html>