Please check out the documentation. The <ejbc> task is just for weblogic
4.5.1 where the deployment descriptors were serialised objects and not XML
files. You may want to use the <ejbjar> task for more recent versions of
weblogic.
Conor
----- Original Message -----
From: "Srinivas Subbaraju" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 12:38 PM
Subject: RE: Ejbc Task Unable to Read XML descriptors
> RE: Ejbc Task Unable to Read XML descriptorsThanks for suggestion, Yes I
am
> supplying EJBC a exploded directory, I will try with .jar file as input
> -----Original Message-----
> From: Schmoll, Brett x66244 [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 9:35 PM
> To: '[EMAIL PROTECTED]'
> Subject: 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
>
>
>
>