ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Callaghan, Tom" <>
Subject <java>
Date Fri, 18 Jan 2002 15:47:51 GMT

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"

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 (specified in the classpath).  Why is it being so god-damn

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message