ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Cormier <ross.corm...@scgo.com>
Subject EJBC Task Exception
Date Fri, 11 Aug 2000 17:22:42 GMT
I get the following exception when running the ejbc task.  It only occurs 
after the first build, ie. when building to a dest directory which already 
contains the generated files.  The solution is to delete all of the 
generated files from the dest directory, but I don't have to do this when 
running from the command line.  Any ideas?

I am using Weblogic 4.51, and the release build of Ant.

Regards,
Ross Cormier

      [java] Exception occurred reading 
BidAskServiceBeanEOImpl_Descriptor.ser -
continuing
      [java] Running ejbc for BidAskServiceBeanEOImpl_Descriptor.ser
      [java] java.lang.ClassCastException: 
weblogic.service.ServiceDeploymentDesc
riptor
      [java]     at weblogic.ejbc.getBeanFromFile(ejbc.java:280)
      [java]     at weblogic.ejbc.deploymentDescriptors(ejbc.java:254)
      [java]     at weblogic.ejbc.runBody(ejbc.java:76)
      [java]     at weblogic.utils.compiler.Tool.run(Tool.java:55)
      [java]     at weblogic.ejbc.main(ejbc.java:623)
      [java]     at 
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.regener
ateSupportClasses(EjbcHelper.java:275)
      [java]     at 
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process
(EjbcHelper.java:238)
      [java]     at 
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(Ej
bcHelper.java:113)
      [java] Result: 1

BUILD FAILED

build.ant:176: Execution of ejbc helper failed


Mime
View raw message