It would probably best to send to ant-user mailing list as I am not
familiar with ejbjar.
At 12:43 15/2/01, nithya nagarajan wrote:
>Hi,
>
>Am using the ejbjar tag in my code :
><ejbjar srcdir="\wl\src\gen"
> descriptordir="\wl\src\gen\META-INF"
> basejarname="TheEJBJar">
> <weblogic destdir="\wl"
> classpath="${descriptorbuild.classpath}"/>
> <include name="**/ejb-jar.xml"/>
> <exclude name="**/weblogic*.xml"/>
></ejbjar>
>
>where classpath=${descriptorbuild.classpath}
>and the property is defined as:
>
><property name="descriptorbuild.classpath"
>value="c:\jdk1.3\bin;c:\jdk1.3\lib\tools.jar;c:\weblogic\lib\weblogicaux.ja
r;c:\weblogic\lib\parser.jar;c:\weblogic\lib\jaxp.jar;c:\weblogic\lib\xerces
.jar;c:\weblogic\lib\weblogic510sp6boot.jar;c:\weblogic\lib\weblogic510sp6.j
ar;E:\Oracle\Ora81\orb\classes\yoj.jar;E:\Oracle\Ora81\orb\classes\share.zip
;c:\weblogic\license;c:\weblogic\classes;.;E:\Oracle\Ora81\jdbc\lib\classes1
11.zip;c:\weblogic\lib\persistence\WebLogic_RDBMS.jar;c:\Ant\lib\bsf.jar;c:\
Ant\lib\optional.jar;c:\Ant\lib\js.jar;c:\Ant\lib\ant.jar;c:\weblogic\lib\ib
mmq\com.ibm.mq.iiop.jar;c:\weblogic\lib\ibmmq\com.ibm.mq.jar;c:\weblogic\lib
\ibmmq\com.ibm.mqbind.jar;c:\weblogic\lib\ibmmq\com.ibm.mqjms.jar;.;"/>
>
>
>the descriptor files are in the following pattern:
>
>wl\src\gen\META-INF\ejb-jar.xml
>wl\src\gen\META-INF\weblogic-ejb-jar.xml
>wl\src\gen\META-INF\weblogic-cmp-rdbms-jar-acclass.xml
>wl\src\gen\META-INF\weblogic-cmp-rdbms-jar-accoffcct.xml .
>
>there is only one ejb-jar.xml(a consolidated one) and one
>weblogic-ejb-jar.xml(a consolidated one) and seperate cmp-rdbms.
>
>while executing the ant file i get the following errors:
>
>[ejbjar] Could not load class com.mki.ebanking.beans.vtmvmntdet.Vtmvmntdet
>fo
>r super class check
> [ejbjar] Could not load class com.mki.ebanking.beans.ftndef.FtndefHome
>for su
>per class check
>
>this message comes for all the classes
>
>Another Doubt:
>1. Can i do a normal command of:
>
>jar cvf abc.jar com META-INF
>ejbc abc.jar general.jar through ANT
>
>2. Will the <ejbjar> build in the stubs and skeletons into the jar
>
>thanx,
>regards,
>nnithya
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*