ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmoll, Brett x66244" <BSchm...@bis.adp.com>
Subject RE: Ejbc Task Unable to Read XML descriptors
Date Thu, 21 Jun 2001 16:05:21 GMT
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:srinivas.subbaraju@majoris.com]
Sent: Wednesday, June 20, 2001 9:02 PM
To: ant-user@jakarta.apache.org
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



Mime
View raw message