|
From: Andrew S. <ste...@us...> - 2004-01-08 23:52:14
|
On Thu, 2004-01-08 at 22:26, Erik Itter wrote:
> in eclipse i allways get
Do you also get it when running Ant at the command line, or only in
Eclipse?
> C:\java\eclipse\workspace\webmonitoring\build.xml:119: Can't create a deploymentdescriptor element
> under ejbdoclet. Make sure the jar file containing the corresponding subtask class is on the
> classpath specified in the <taskdef> that defined {2}.
>
>
>
> where is that task defined (what do i need to add to the classpath)?
The xdoclet ejb module jar. The exact name would depend on the version
of XDoclet, which you didn't say. You'll also need the core xdoclet
jar, xjavadoc, commons logging (and possibly commons collections,
depending on version) and the J2EE classes. Personally, I just include
all the jars in the distribution archive plus the J2EE jar from my app
server's directory. It's easier than worrying about the dependencies.
If you post the relevant bits from your build.xml, we might be able to
spot what's wrong. Of course, it might just be that Eclipse's Ant
support behaves badly, I couldn't say for sure since I don't use it...
Andrew.
|