Hi,
I`ve been stuck on this problem for nearly a week now and am now just taking
wild shots in the dark. The tag <java>, does it accept a classpath
parameter? :-
<java classname="Some classname in quotes" classpath="1..n Path and
filenames, delimited by a ;">
i.e: -
<java classname="weblogic.ant.taskdefs.ejb20.DDInit"
classpath="C:/WebGain/VCafe/bin/sb/classes/javax_ejb.zip;H:/lib/Weblogic.jar
">
I ask this because whenever I try to use DDInit and there are no
EJB/Home/Remote .class files in the source directory, DDInit will execute
and create deployment descriptors that will be empty - this is fine.
But, when I execute DDInit and there are EJB/Home/Remote .class files in the
source directory in get a BUILD FAILED error ( build.xml
java.lang.NoClassDefFoundError: ) saying it can find files in javax/ejb/
EJBObject/SessionBean, etc. But, these files are all there to be seen in
javax_ejb.zip (specified in the classpath). Why is it being so god-damn
annoying?
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|