2018-12-21 11:20:43 +01:00
|
|
|
<!DOCTYPE html>
|
2006-09-11 04:19:00 +00:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
2019-05-25 13:41:47 +02:00
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
2006-09-11 04:19:00 +00:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2018-12-21 11:20:43 +01:00
|
|
|
<html lang="en">
|
2001-04-07 03:51:32 +00:00
|
|
|
|
|
|
|
<head>
|
2005-04-29 18:58:16 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
|
2002-02-03 22:11:39 +00:00
|
|
|
<title>BorlandGenerateClient Task</title>
|
2001-04-07 03:51:32 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2018-01-22 23:52:21 +01:00
|
|
|
<h2 id="log">BorlandGenerateClient</h2>
|
2002-06-22 23:38:38 +00:00
|
|
|
<p>by Benoit Moussaud (<a href="mailto:benoit.moussaud@criltelecom.com">benoit.moussaud@criltelecom.com</a>)</p>
|
2001-04-07 03:51:32 +00:00
|
|
|
<h3>Description</h3>
|
2018-02-28 07:58:59 +01:00
|
|
|
<p>The BorlandGenerateClient is a task dedicated to Borland Application Server v 4.5. It offers to
|
|
|
|
generate the client jar file corresponding to an EJB jar file.</p>
|
2001-04-07 03:51:32 +00:00
|
|
|
<h3>Parameters</h3>
|
2018-02-28 07:58:59 +01:00
|
|
|
<table class="attr">
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2018-05-15 10:29:27 +02:00
|
|
|
<th scope="col">Attribute</th>
|
|
|
|
<th scope="col">Description</th>
|
|
|
|
<th scope="col">Required</th>
|
2001-04-07 03:51:32 +00:00
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>ejbjar</td>
|
|
|
|
<td>EJB jar file</td>
|
|
|
|
<td>yes</td>
|
2001-04-07 03:51:32 +00:00
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>debug</td>
|
|
|
|
<td>If <q>true</q>, turn on the debug mode for each Borland tool
|
|
|
|
(<code>java2iiop</code>, <code>iastool</code>, ...)</td>
|
|
|
|
<td>no; default <q>false</q></td>
|
2001-04-07 03:51:32 +00:00
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>clientjar</td>
|
|
|
|
<td>client jar file name. If missing the client jar file name is build using
|
|
|
|
the <var>ejbjar</var> file name: <var>ejbjar</var>=<q>hellobean-ejb.jar</q>
|
|
|
|
⇒ <q>hellobean-ejbclient.jar</q></td>
|
|
|
|
<td>no</td>
|
2001-04-07 03:51:32 +00:00
|
|
|
</tr>
|
2001-04-19 14:02:16 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>mode</td>
|
|
|
|
<td>choose the command launching mode. Two values: <q>java</q> or <q>fork</q>
|
|
|
|
(default). <q>java</q> is not supported for <var>version</var>=<q>5</q>. Possibility to
|
|
|
|
specify a classpath.</td>
|
|
|
|
<td>no</td>
|
2001-04-19 14:02:16 +00:00
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2018-02-28 07:58:59 +01:00
|
|
|
<td>version</td>
|
|
|
|
<td>set the Borland Application Version.
|
|
|
|
<ul>
|
|
|
|
<li><q>4</q> means B.A.S (Borland Application Server 4.x)</li>
|
|
|
|
<li><q>5</q> means B.E.S (Borland Application Server 5.x)</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>No; defaults to <q>4</q></td>
|
2002-06-22 23:38:38 +00:00
|
|
|
</tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>Examples</h3>
|
2018-02-28 07:58:59 +01:00
|
|
|
<p>The following <samp>build.xml</samp> snippet is an example of how to use Borland element in
|
|
|
|
the <code>ejbjar</code> task using the <q>fork</q> <var>mode</var>.</p>
|
2001-04-19 14:02:16 +00:00
|
|
|
<pre>
|
2018-02-28 07:58:59 +01:00
|
|
|
<blgenclient ejbjar="lib/secutest-ejb.jar" clientjar="lib/client.jar" debug="true" mode="fork" version="5">
|
2001-04-19 14:02:16 +00:00
|
|
|
<classpath>
|
2004-11-12 10:36:29 +00:00
|
|
|
<pathelement location="mymodule.jar"/>
|
2001-04-19 14:02:16 +00:00
|
|
|
</classpath>
|
2018-02-28 07:58:59 +01:00
|
|
|
</blgenclient></pre>
|
2001-04-07 03:51:32 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|