I use the java taks to execute the weblogic ejbc process. I think classpath
must be a nested attribute of the <java> task. I do the following (which
works):
<java classname="weblogic.ejbc">
<classpath>
<pathelement path=".../weblogic.jar" />
<pathelement path=".../..." />
</classpath>
</java>
HTH
----- Original Message -----
From: "Callaghan, Tom" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 9:47 AM
Subject: <java>
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>