You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Roland Kamke <rk...@SPM.DE> on 2000/09/06 16:29:28 UTC
ejbjar task: Could not find weblogic.ejbc
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