ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Lynch" <bly...@4charity.com>
Subject ejbjar error
Date Thu, 25 Jan 2001 16:31:32 GMT
All,

I've been trying to get the ejbjar (using weblogic) task to work and I've
run into what appears to be an internal ejbc error. I'm using the latest
version of ant from CVS (jan 22, ver 1.3alpha) but I've also noticed the
same problem with Ant 1.2.

My task is the following:

<target name="ejb">
  <ejbjar srcdir="${rel.path}/classes"
    descriptordir="${ejb.descriptor.dir}/${ejb.name}"
    basejarname="${ejb.name}"
  >
    <weblogic destdir="${rel.path}/newejbs"
      classpath="${weblogic.jar}:${weblogicaux.jar}:${rel.path}/classes"
	keepgeneric="true"
    />
    <include name="**/${ejb.name}-ejb-jar.xml" />
    <include name="**/${ejb.name}-weblogic-ejb-jar.xml" />
  </ejbjar>
</target>

I can verify that the jar's are being produced correctly (the step before
calling ejbc), however when the task calles ejbc, i get the following error:

C:\cvs>ant -Dejb.name=CcReceipt ejb
Buildfile: build.xml

ejb:
   [ejbjar] building CcReceipt.jar with 6 files
     [java] ERROR: Error from ejbc: weblogic.boot.ZipSource
     [java] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc found
erro
rs
     [java]     at weblogic.ejbc.runBody(ejbc.java:340)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:365)
     [java] Java Result: 1

My WL classes have been updated to the most recent service pack but that
still doesn't solve the problem.

Any ideas?

Thanks in advance,
--Bill

-------------------------------------------------------
4charity.com                        blynch@4charity.com
CoolServlets.com                  bill@coolservlets.com


Mime
View raw message