The following comment has been added to this issue:
Author: Aslak Helles�y
Created: Mon, 17 Feb 2003 1:52 PM
Body:
David, you need to put the javax.ejb.* classes on the classpath you use to define
ejbdoclet. Off the top of my head:
<path id="xdoclet.class.path">
...
<pathelement location="some/where/ejb.jar"/>
...
</path>
<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="xdoclet.class.path"/>
HTH,
Aslak
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-222
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-222
Summary: ejbdoclet cannot find subtask definitions
Type: Bug
Status: Resolved
Priority: Major
Resolution: CANNOT REPRODUCE
Time Spent: Unknown
Estimate: 0 minutes
Project: XDoclet
Component: EJB Module
Versions:
1.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Sean Garagan
Created: Fri, 3 Jan 2003 4:21 AM
Updated: Fri, 3 Jan 2003 7:39 AM
Environment: Windows XP
JDK 1.3.1_03
Ant 1.5.1
XDoclet 1.2b2
Description:
I have tried to define an ejbdoclet task in my Ant scripts but I keep getting a rather
cryptic error message. My classpath in the <taskdef> is defined as shown in the
XDoclet examples. I have not overridden it in the ejbdoclet task. The error is:
[ejbdoclet] Make sure the jar file containing the ejbdoclet class is on the classpath
specified in the <taskdef> that defined {2}. These classes are needed in order to
generate correct output.
[ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:501)
[ejbdoclet] at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTa
sk.java:82)
[ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[ejbdoclet] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
ava:143)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[ejbdoclet] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
)
[ejbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[ejbdoclet] at org.apache.tools.ant.Main.start(Main.java:196)
[ejbdoclet] at org.apache.tools.ant.Main.main(Main.java:235)
Any insight would be greatly appreciated, as this is halting development.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel