|
|
@@ -32,11 +32,11 @@ |
|
|
|
|
|
|
|
<hr> |
|
|
|
<h2><a name="introduction">Introduction</a></h2> |
|
|
|
<p>Ant provides a number of optional tasks for developing |
|
|
|
<p>Ant provides a number of optional tasks for developing 1.x and 2.x |
|
|
|
<a href="http://java.sun.com/products/ejb" target="_top">Enterprise Java Beans (EJBs)</a>. |
|
|
|
In general these tasks are specific to the particular vendor's EJB Server.</p> |
|
|
|
|
|
|
|
<p> At present the tasks support:<br> |
|
|
|
<p> The tasks support:<br> |
|
|
|
|
|
|
|
<ul> |
|
|
|
<li><a href="http://www.borland.com">Borland </a> |
|
|
@@ -51,7 +51,12 @@ In general these tasks are specific to the particular vendor's EJB Server.</p> |
|
|
|
2.4.x and 2.5 Open Source EJB server</li> |
|
|
|
<li><a href="http://www.ibm.com/websphere">IBM WebSphere</a> 4.0</li> |
|
|
|
</ul> |
|
|
|
Over time we expect further optional tasks to support additional EJB Servers. |
|
|
|
Vendors such as BEA and IBM now provide custom Ant tasks to work with their |
|
|
|
particular products. More importantly, EJB3.0 renders this whole process obsolete. |
|
|
|
Accordingly, developement of these tasks is effectively frozen. Bug reports |
|
|
|
and especially patches are welcome, but there is no pressing need to add |
|
|
|
support for new application servers. Nobody should be writing new EJB2.x applications |
|
|
|
and definately not new EJB2.x servers. |
|
|
|
</p> |
|
|
|
|
|
|
|
<hr> |
|
|
@@ -211,82 +216,82 @@ and skeletons.</p> |
|
|
|
<h3> |
|
|
|
Parameters:</h3> |
|
|
|
|
|
|
|
<table BORDER CELLSPACING=0 CELLPADDING=2 > |
|
|
|
<table border="1" cellspacing="0" cellpadding="2"> |
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP><b>Attribute</b></td> |
|
|
|
<td valign="top"><b>Attribute</b></td> |
|
|
|
|
|
|
|
<td VALIGN=TOP><b>Description</b></td> |
|
|
|
<td valign="top"><b>Description</b></td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP><b>Required</b></td> |
|
|
|
<td align="center" valign="top"><b>Required</b></td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>ejbdescriptor</td> |
|
|
|
<td valign="top">ejbdescriptor</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>Standard EJB 1.1 XML descriptor (typically titled "ejb-jar.xml").</td> |
|
|
|
<td valign="top">Standard EJB 1.1 XML descriptor (typically titled "ejb-jar.xml").</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>Yes</td> |
|
|
|
<td align="center" valign="top">Yes</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>iasdescriptor</td> |
|
|
|
<td valign="top">iasdescriptor</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>iAS-specific EJB XML descriptor (typically titled "ias-ejb-jar.xml").</td> |
|
|
|
<td valign="top">iAS-specific EJB XML descriptor (typically titled "ias-ejb-jar.xml").</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>Yes</td> |
|
|
|
<td align="center" valign="top">Yes</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>dest</td> |
|
|
|
<td valign="top">dest</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>The is the base directory where the RMI stubs and skeletons |
|
|
|
<td valign="top">The is the base directory where the RMI stubs and skeletons |
|
|
|
are written. In addition, the class files for each bean (home interface, |
|
|
|
remote interface, and EJB implementation) must be found in this directory.</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>Yes</td> |
|
|
|
<td align="center" valign="top">Yes</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>classpath</td> |
|
|
|
<td valign="top">classpath</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>The classpath used when generating EJB stubs and skeletons. |
|
|
|
<td valign="top">The classpath used when generating EJB stubs and skeletons. |
|
|
|
If omitted, the classpath specified when Ant was started will be used. |
|
|
|
Nested "classpath" elements may also be used.</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>keepgenerated</td> |
|
|
|
<td valign="top">keepgenerated</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>Indicates whether or not the Java source files which are |
|
|
|
<td valign="top">Indicates whether or not the Java source files which are |
|
|
|
generated by ejbc will be saved or automatically deleted. If "yes", the |
|
|
|
source files will be retained. If omitted, it defaults to "no". </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>debug</td> |
|
|
|
<td valign="top">debug</td> |
|
|
|
|
|
|
|
<td>Indicates whether or not the ejbc utility should log additional debugging |
|
|
|
statements to the standard output. If "yes", the additional debugging statements |
|
|
|
will be generated. If omitted, it defaults to "no". </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP> |
|
|
|
<td align="center" valign="top"> |
|
|
|
<center>No</center> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>iashome</td> |
|
|
|
<td valign="top">iashome</td> |
|
|
|
|
|
|
|
<td>May be used to specify the "home" directory for this iAS installation. |
|
|
|
This is used to find the ejbc utility if it isn't included in the user's |
|
|
|
system path. If specified, it should refer to the "[install-location]/iplanet/ias6/ias" |
|
|
|
directory. If omitted, the ejbc utility must be on the user's system path. </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
|
|
|
@@ -1413,59 +1418,59 @@ appropriate documentation for more details.</p> |
|
|
|
<h3> |
|
|
|
Parameters:</h3> |
|
|
|
|
|
|
|
<table BORDER CELLSPACING=0 CELLPADDING=2 > |
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP><b>Attribute</b></td> |
|
|
|
<td valign="top"><b>Attribute</b></td> |
|
|
|
|
|
|
|
<td VALIGN=TOP><b>Description</b></td> |
|
|
|
<td valign="top"><b>Description</b></td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP><b>Required</b></td> |
|
|
|
<td align="center" valign="top"><b>Required</b></td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>destdir</td> |
|
|
|
<td valign="top">destdir</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>The base directory into which the generated JAR files will |
|
|
|
<td valign="top">The base directory into which the generated JAR files will |
|
|
|
be written. Each JAR file is written in directories which correspond to |
|
|
|
their location within the "descriptordir" namespace.</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>Yes</td> |
|
|
|
<td align="center" valign="top">Yes</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>classpath</td> |
|
|
|
<td valign="top">classpath</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>The classpath used when generating EJB stubs and skeletons. |
|
|
|
<td valign="top">The classpath used when generating EJB stubs and skeletons. |
|
|
|
If omitted, the classpath specified in the "ejbjar" parent task will be |
|
|
|
used. If specified, the classpath elements will be prepended to the |
|
|
|
classpath specified in the parent "ejbjar" task. Note that nested "classpath" |
|
|
|
elements may also be used.</td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>keepgenerated</td> |
|
|
|
<td valign="top">keepgenerated</td> |
|
|
|
|
|
|
|
<td VALIGN=TOP>Indicates whether or not the Java source files which are |
|
|
|
<td valign="top">Indicates whether or not the Java source files which are |
|
|
|
generated by ejbc will be saved or automatically deleted. If "yes", the |
|
|
|
source files will be retained. If omitted, it defaults to "no". </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>debug</td> |
|
|
|
<td valign="top">debug</td> |
|
|
|
|
|
|
|
<td>Indicates whether or not the ejbc utility should log additional debugging |
|
|
|
statements to the standard output. If "yes", the additional debugging statements |
|
|
|
will be generated. If omitted, it defaults to "no". </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>iashome</td> |
|
|
|
<td valign="top">iashome</td> |
|
|
|
|
|
|
|
<td>May be used to specify the "home" directory for this iAS installation. |
|
|
|
This is used to find the ejbc utility if it isn't included in the user's |
|
|
@@ -1473,16 +1478,16 @@ system path. If specified, it should refer to the [install-location]/iplanet/ia |
|
|
|
directory. If omitted, the ejbc utility must be on the user's system |
|
|
|
path. </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td VALIGN=TOP>suffix</td> |
|
|
|
<td valign="top">suffix</td> |
|
|
|
|
|
|
|
<td>String value appended to the JAR filename when creating each JAR. |
|
|
|
If omitted, it defaults to ".jar". </td> |
|
|
|
|
|
|
|
<td ALIGN=CENTER VALIGN=TOP>No</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
|
|
|
@@ -1668,6 +1673,7 @@ documentation for more details.</p> |
|
|
|
omitted, it defaults to <code>false</code>.</td> |
|
|
|
<td align="Center" valign="Top">No</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="Top">additionalargs</td> |
|
|
|
<td valign="Top">Add additional args to GenIC.</td> |
|
|
|
<td align="Center" valign="Top">No</td> |
|
|
@@ -1747,7 +1753,7 @@ descriptors to use the naming standard. This will create only one ejb jar file - |
|
|
|
</pre> |
|
|
|
|
|
|
|
<hr> |
|
|
|
<p align="center">Copyright © 2000-2005 The Apache Software Foundation. All rights |
|
|
|
<p align="center">Copyright © 2000-2006 The Apache Software Foundation. All rights |
|
|
|
Reserved.</p> |
|
|
|
|
|
|
|
|
|
|
|