ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Ejbc Task Unable to Read XML descriptors
Date Fri, 22 Jun 2001 04:20:56 GMT
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" <srinivas.subbaraju@majoris.com>
To: <ant-user@jakarta.apache.org>
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:BSchmoll@bis.adp.com]
>   Sent: Thursday, June 21, 2001 9:35 PM
>   To: 'ant-user@jakarta.apache.org'
>   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: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