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
|
---|
23 | href="http://www.moussaud.org/ejbjar.html">FAQ</a> for this task at
|
---|
24 | his 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"><dtd></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"><dtd></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> <ejbjar srcdir="${build.classes}" basejarname="vsmp" descriptordir="${rsc.dir}/hrmanager">
|
---|
110 | <borland destdir="lib" verify="on" generateclient="on" version="5">
|
---|
111 | <classpath refid="classpath"/>
|
---|
112 | </borland>
|
---|
113 | <include name="**\ejb-jar.xml"/>
|
---|
114 | <support dir="${build.classes}">
|
---|
115 | <include name="demo\*.class"/>
|
---|
116 | <include name="demo\helper\*.class"/>
|
---|
117 | </support>
|
---|
118 | </ejbjar></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.
|
---|
120 | The verify phase is turned on and the generate client phase as well.
|
---|
121 | </pre>
|
---|
122 |
|
---|
123 | <h3> </h3>
|
---|
124 | <p align="center">Copyright © 2001-2004 The Apache Software Foundation. All rights
|
---|
125 | Reserved.</p>
|
---|
126 |
|
---|
127 | </body>
|
---|
128 | </html>
|
---|
129 |
|
---|