source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/docs/manual/OptionalTasks/BorlandEJBTasks.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 5.4 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>Borland EJB Tasks</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="log">BorlandDeploy</a>Tool</h2>
12<p>by Benoit Moussaud (<a href="mailto:[email protected]">[email protected]</a>)</p>
13
14
15<h3>Description</h3>
16<p>The BorlandDeployTool is a vendor specific nested element for the Ejbjar optional task.</p>
17<p>BorlandDeploymentTool is dedicated to the Borland Application Server 4.5.x and Borland
18 Enterprise Server 5.x. It generates and compiles the stubs and skeletons for all ejb described into the
19 Deployment Descriptor, builds the jar file including the support files and
20 verify whether the produced jar is valid or not.</p>
21
22<p>Benoit Moussaud maintains a separate <a
23href="http://www.moussaud.org/ejbjar.html">FAQ</a> for this task at
24his homepage.</p>
25
26<h3>Borland element</h3>
27<table border="1" cellpadding="2" cellspacing="0">
28 <tr>
29 <td valign="top" width="63"><b>Attribute</b></td>
30 <td valign="top" width="915"><b>Description</b></td>
31 <td align="center" valign="top" width="62"><b>Required</b></td>
32 </tr>
33 <tr>
34 <td valign="top" width="63">destdir</td>
35 <td valign="top" width="915">The base directory into which the generated borland
36 ready jar files are deposited</td>
37 <td align="center" valign="middle" width="62">yes</td>
38 </tr>
39 <tr>
40 <td valign="top" width="63">debug</td>
41 <td valign="top" width="915">If true, turn on the debug mode for each borland
42 tools (java2iiop, iastool ...) default = false</td>
43 <td align="center" valign="middle" width="62">no</td>
44 </tr>
45 <tr>
46 <td valign="top" width="63">verify</td>
47 <td valign="top" width="915">If true, turn on the verification at the end
48 of the jar production (default = false)</td>
49 <td align="center" valign="middle" width="62">no</td>
50 </tr>
51 <tr>
52 <td valign="top" width="63">verifyargs</td>
53 <td valign="top" width="915">extra parameter for verify command</td>
54 <td align="center" valign="middle" width="62">no</td>
55 </tr>
56 <tr>
57 <td valign="top" width="63">suffix</td>
58 <td valign="top" width="915">String value appended to the basename of the
59 deployment descriptor to create the filename of the Borland EJB jar file.</td>
60 <td align="center" valign="middle" width="62">No, defaults to '-ejb.jar'.</td>
61 </tr>
62 <tr>
63 <td valign="top" width="63">basdtd</td>
64 <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
65 DTD which covers the Borland specific deployment descriptors.
66 This should not be necessary if you have borland in your classpath. If you
67 do not, you should use a nested
68 <a href="ejb.html#ejbjar-dtd"><code>&lt;dtd&gt;</code></a> element, described
69 in the ejbjar task documentation.</td>
70 <td align="center" valign="middle" width="62">no</td>
71 </tr>
72 <tr>
73 <td valign="top" width="63">ejbdtd</td>
74 <td valign="top" width="915"><b>Deprecated</b>. Defines the location of the
75 ejb-jar DTD in the class hierarchy. This should not be necessary
76 if you have borland in your classpath. If you do not, you should use a
77 nested <a href="ejb.html#ejbjar-dtd"><code>&lt;dtd&gt;</code></a> element,
78 described in the ejbjar task
79 documentation. </td>
80 <td align="center" valign="middle" width="62">no</td>
81 </tr>
82 <tr>
83 <td valign="top" width="63">generateclient </td>
84 <td valign="top" width="915">If true, turn on the generation of the corresponding
85 ejbjar (default = false)</td>
86 <td align="center" valign="middle" width="62">no</td>
87 </tr>
88 <tr>
89 <td valign="top" width="63">version</td>
90 <td valign="top" width="915">set the Borland Application Version.
91 <ul>
92 <li>4 means B.A.S (Borland Application Server) 4.x, target will add ejb-inprise.xml file</li>
93 <li>5 means B.E.S (Borland Application Server) 5.x, target will add ejb-borland.xml file</li>
94 </ul>
95 </td>
96 <td align="center" valign="middle" width="62">No, defaults to 4</td>
97 </tr>
98 <tr>
99 <td valign="top" width="63">java2iiopParams </td>
100 <td valign="top" width="915">If filled, the params are added to the java2iiop command (ex: -no_warn_missing_define)</td>
101 <td align="center" valign="middle" width="62">no</td>
102 </tr>
103
104</table>
105
106<h3>Examples</h3>
107<p>The following build.xml snippet is an example of how to use Borland element
108 into the ejbjar task</p>
109<pre> &lt;ejbjar srcdir=&quot;${build.classes}&quot; basejarname=&quot;vsmp&quot; descriptordir=&quot;${rsc.dir}/hrmanager&quot;&gt;
110 &lt;borland destdir=&quot;lib&quot; verify=&quot;on&quot; generateclient=&quot;on&quot; version=&quot;5&quot;&gt;
111 &lt;classpath refid=&quot;classpath&quot;/&gt;
112 &lt;/borland&gt;
113 &lt;include name=&quot;**\ejb-jar.xml&quot;/&gt;
114 &lt;support dir=&quot;${build.classes}&quot;&gt;
115 &lt;include name=&quot;demo\*.class&quot;/&gt;
116 &lt;include name=&quot;demo\helper\*.class&quot;/&gt;
117 &lt;/support&gt;
118 &lt;/ejbjar&gt;</pre>
119<pre>The borland element will generate into the lib dir an ejb jar file using the deployment descriptor placed into the ${rsc.dir}/hrmanager directory.
120The verify phase is turned on and the generate client phase as well.
121</pre>
122
123<h3>&nbsp;</h3>
124<p align="center">Copyright &copy; 2001-2004 The Apache Software Foundation. All rights
125Reserved.</p>
126
127</body>
128</html>
129
Note: See TracBrowser for help on using the repository browser.