Title: RE: Ejbc Task Unable to Read XML descriptors

Is the source that your supplying to EJBC a exploded directory or a jar file? I believe the ejbc requires a .jar file as the input. Not a directory of class files in package structure.


-----Original Message-----
From: Srinivas Subbaraju [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 9:02 PM
To: [EMAIL PROTECTED]
Subject: Ejbc Task Unable to Read XML descriptors




   Anybody familiar with usage of optional task ejbc.
   I am not able to run ant with ejbc. following is the
   piece of ant build code

   <ejbc descriptors="${gen.classes}"
           src=""${src.dir}"
           dest="${gen.classes1}"
           manifest="${build.manifest}"
           classpath="${descriptorbuild.classpath}">
  </ejbc>

   Under gen.classes I have XML dexcriptors. When I run ant
   I get following error

   ejbc:
     [ejbc] Exception occurred reading ejb-jar.xml - continuing
     [ejbc] Running ejbc for ejb-jar.xml
     [ejbc] ERROR: You must specify a source ejb-jar file ending with the
suffix
 .jar for weblogic.ejbc

        BUILD FAILED

        C:\shop\build.xml:15: Execution of ejbc helper failed.

   Is any doc's are available for EJBC tasks?
   What is causing this problem? is it true that ant can not read xml
descriptors?

Thanks in advace,
Srini


Reply via email to