|
|
@@ -295,19 +295,19 @@ Examples</h3> |
|
|
|
<pre><iplanet-ejbc ejbdescriptor="ejb-jar.xml" |
|
|
|
iasdescriptor="ias-ejb-jar.xml" |
|
|
|
dest="${build.classesdir}" |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
|
|
|
|
<iplanet-ejbc ejbdescriptor="ejb-jar.xml" |
|
|
|
iasdescriptor="ias-ejb-jar.xml" |
|
|
|
dest="${build.classesdir}" |
|
|
|
keepgenerated="yes" |
|
|
|
debug="yes" |
|
|
|
iashome="${ias.home}" > |
|
|
|
<classpath> |
|
|
|
<pathelement path="." /> |
|
|
|
<pathelement path="${build.classpath}" /> |
|
|
|
</classpath> |
|
|
|
</iplanet-ejbc> |
|
|
|
iashome="${ias.home}" > |
|
|
|
<classpath> |
|
|
|
<pathelement path="." /> |
|
|
|
<pathelement path="${build.classpath}" /> |
|
|
|
</classpath> |
|
|
|
</iplanet-ejbc> |
|
|
|
|
|
|
|
</pre> |
|
|
|
|
|
|
@@ -1368,7 +1368,7 @@ in the descriptor dir:</p> |
|
|
|
|
|
|
|
<h3><a name="ejbjar_iplanet">iPlanet Application Server (iAS) element</a></h3> |
|
|
|
|
|
|
|
The <iplanet> nested element is used to build iAS-specific stubs and |
|
|
|
The <iplanet> nested element is used to build iAS-specific stubs and |
|
|
|
skeletons and construct a JAR file which may be deployed to the iPlanet |
|
|
|
Application Server 6.0. The build process will always determine if |
|
|
|
the EJB stubs/skeletons and the EJB-JAR file are up to date, and it will |
|
|
@@ -1462,65 +1462,65 @@ If omitted, it defaults to ".jar". </td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
|
|
|
|
<p>As noted above, the iplanet element supports additional <classpath> |
|
|
|
<p>As noted above, the iplanet element supports additional <classpath> |
|
|
|
nested elements.</p> |
|
|
|
<h3> |
|
|
|
Examples</h3> |
|
|
|
This example demonstrates the typical use of the <iplanet> nested element. |
|
|
|
This example demonstrates the typical use of the <iplanet> nested element. |
|
|
|
It will name each EJB-JAR using the "basename" prepended to each standard |
|
|
|
EJB descriptor. For example, if the descriptor named "Account-ejb-jar.xml" |
|
|
|
is processed, the EJB-JAR will be named "Account.jar" |
|
|
|
<pre> <ejbjar srcdir="${build.classesdir}" |
|
|
|
descriptordir="${src}" > |
|
|
|
descriptordir="${src}" > |
|
|
|
<iplanet destdir="${assemble.ejbjar}" |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
This example demonstrates the use of a nested classpath element as well |
|
|
|
as some of the other optional attributes. |
|
|
|
<pre> <ejbjar srcdir="${build.classesdir}" |
|
|
|
descriptordir="${src}" > |
|
|
|
descriptordir="${src}" > |
|
|
|
<iplanet destdir="${assemble.ejbjar}" |
|
|
|
iashome="${ias.home}" |
|
|
|
debug="yes" |
|
|
|
keepgenerated="yes" > |
|
|
|
<classpath> |
|
|
|
<pathelement path="." /> |
|
|
|
<pathelement path="${build.classpath}" /> |
|
|
|
</classpath> |
|
|
|
</iplanet> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
keepgenerated="yes" > |
|
|
|
<classpath> |
|
|
|
<pathelement path="." /> |
|
|
|
<pathelement path="${build.classpath}" /> |
|
|
|
</classpath> |
|
|
|
</iplanet> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
This example demonstrates the use of basejarname attribute. In this |
|
|
|
case, the completed EJB-JAR will be named "HelloWorld.jar" If multiple |
|
|
|
EJB descriptors might be found, care must be taken to ensure that the completed |
|
|
|
JAR files don't overwrite each other. |
|
|
|
<pre> <ejbjar srcdir="${build.classesdir}" |
|
|
|
descriptordir="${src}" |
|
|
|
basejarname="HelloWorld" > |
|
|
|
basejarname="HelloWorld" > |
|
|
|
<iplanet destdir="${assemble.ejbjar}" |
|
|
|
classpath="${ias.ejbc.cpath}"/> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
classpath="${ias.ejbc.cpath}"/> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
</ejbjar></pre> |
|
|
|
This example demonstrates the use of the dtd nested element. If the local |
|
|
|
copies of the DTDs are included in the classpath, they will be automatically |
|
|
|
referenced without the nested elements. In iAS 6.0 SP2, these local DTDs are |
|
|
|
found in the [iAS-install-directory]/APPS directory. In iAS 6.0 SP3, these |
|
|
|
local DTDs are found in the [iAS-install-directory]/dtd directory. |
|
|
|
<pre> <ejbjar srcdir="${build.classesdir}" |
|
|
|
descriptordir="${src}"> |
|
|
|
<iplanet destdir="${assemble.ejbjar}"> |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
descriptordir="${src}"> |
|
|
|
<iplanet destdir="${assemble.ejbjar}"> |
|
|
|
classpath="${ias.ejbc.cpath}" /> |
|
|
|
<include name="**/*-ejb-jar.xml"/> |
|
|
|
<exclude name="**/*ias-*.xml"/> |
|
|
|
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" |
|
|
|
location="${ias.home}/APPS/ejb-jar_1_1.dtd"/> |
|
|
|
location="${ias.home}/APPS/ejb-jar_1_1.dtd"/> |
|
|
|
<dtd publicId="-//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN" |
|
|
|
location="${ias.home}/APPS/IASEjb_jar_1_0.dtd"/> |
|
|
|
</ejbjar></pre> |
|
|
|
location="${ias.home}/APPS/IASEjb_jar_1_0.dtd"/> |
|
|
|
</ejbjar></pre> |
|
|
|
|
|
|
|
<h3><a name="ejbjar_jonas">JOnAS (Java Open Application Server) element</a></h3> |
|
|
|
|
|
|
|