2001-04-07 03:51:32 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
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>
|
|
|
|
|
|
|
|
<h2><a name="log">BorlandGenerateClient</a></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>
|
2002-06-22 23:38:38 +00: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
|
2001-09-08 01:05:18 +00:00
|
|
|
file.</p>
|
2001-04-07 03:51:32 +00:00
|
|
|
<h3>Parameters</h3>
|
|
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
<td valign="top" width="63"><b>Attribute</b></td>
|
|
|
|
<td valign="top" width="915"><b>Description</b></td>
|
|
|
|
<td align="center" valign="top" width="62"><b>Required</b></td>
|
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
<td valign="top" width="63">ejbjar</td>
|
|
|
|
<td valign="top" width="915">ejb jar file</td>
|
|
|
|
<td align="center" valign="middle" width="62">yes</td>
|
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
<td valign="top" width="63">debug</td>
|
2002-06-22 23:38:38 +00:00
|
|
|
<td valign="top" width="915">If true, turn on the debug mode for each borland
|
2001-04-07 03:51:32 +00:00
|
|
|
tools (java2iiop, iastool ...) default = false</td>
|
|
|
|
<td align="center" valign="middle" width="62">no</td>
|
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
<td valign="top" width="63">clientjar</td>
|
2002-06-22 23:38:38 +00:00
|
|
|
<td valign="top" width="915">client jar file name. If missing the client jar
|
|
|
|
file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar
|
2001-04-07 03:51:32 +00:00
|
|
|
=> hellobean-ejbclient.jar</td>
|
|
|
|
<td align="center" valign="middle" width="62">no</td>
|
|
|
|
</tr>
|
2001-04-19 14:02:16 +00:00
|
|
|
<tr>
|
|
|
|
<td valign="top" width="63">mode</td>
|
2002-06-22 23:38:38 +00:00
|
|
|
<td valign="top" width="915">choose the command launching mode. Two values:
|
|
|
|
java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td>
|
2001-04-19 14:02:16 +00:00
|
|
|
<td align="center" valign="middle" width="62">no</td>
|
|
|
|
</tr>
|
2002-06-22 23:38:38 +00:00
|
|
|
<tr>
|
|
|
|
<td valign="top" width="63">version</td>
|
|
|
|
<td valign="top" width="915">set the Borland Application Version.
|
|
|
|
<ul>
|
|
|
|
<li>4 means B.A.S (Borland Application Server 4.x)</li>
|
|
|
|
<li>5 means B.E.S (Borland Application Server 5.x)</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td align="center" valign="middle" width="62">No, defaults to 4</td>
|
|
|
|
</tr>
|
2001-04-07 03:51:32 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>Examples</h3>
|
2002-06-22 23:38:38 +00:00
|
|
|
<p>The following build.xml snippet is an example of how to use Borland element
|
2001-09-08 01:05:18 +00:00
|
|
|
into the ejbjar task using the java mode.</p>
|
2001-04-19 14:02:16 +00:00
|
|
|
<pre>
|
2002-06-22 23:38:38 +00: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>
|
|
|
|
</blgenclient>
|
|
|
|
</pre>
|
2001-04-07 03:51:32 +00:00
|
|
|
<pre> </pre>
|
|
|
|
|
2005-03-07 18:11:14 +00:00
|
|
|
<p align="center">Copyright © 2001-2002,2004-2005 The Apache Software Foundation. All rights
|
2001-04-07 03:51:32 +00:00
|
|
|
Reserved.</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|