ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Kamke <rka...@SPM.DE>
Subject ejbjar task: Could not find weblogic.ejbc
Date Wed, 06 Sep 2000 14:29:28 GMT
Hi all,

using the following build.xml-snippet I try to create deployable EJB jar files for WebLogic
5.1.0:
    <ejbjar srcdir="${build.dir}" descriptordir="${build.dir}">
      <weblogic destdir="${deploy.dir}"/>
      <include name="**/ejb-jar.xml"/>
      <exclude name="**/*weblogic*.xml"/>
      <exclude name="**/*toplink*.xml"/>
    </ejbjar>

I get the following exception:
------------------------------------snip ------------------------------------
   [ejbjar] 1 deployment descriptors located.
   [ejbjar] building ejb.jar with 5 files
   [ejbjar] adding file ...
   [ejbjar] Calling weblogic.ejbc for ...
     [java] Calling weblogic.ejbc
force loading weblogic.ejbc
Finding class weblogic.ejbc

BUILD FAILED

build.xml:50: Exception while calling ejbc. Details: Could not find weblogic.ejbc. Make sure
you have it in your classpath
Could not find weblogic.ejbc. Make sure you have it in your classpath
        at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:101)
...
------------------------------------snip ------------------------------------

Where to set the corresponding classpath that is used within ejbjar?
According to the docs the classpath within the weblogic isn't the right place, is ist?
BTW: I run Ant version 1.2alpha compiled on September 4 2000 on NT.

	. . . Roland


Mime
View raw message