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