The following comment has been added to this issue:

     Author: Aslak Helles�y
    Created: Sat, 4 Jan 2003 6:00 AM
       Body:
That's an incorrect resolution, Michael. classname="xdoclet.ejb.EjbDocletTask" *will* 
work because that class still exists as a bwc layer (It extends 
xdoclet.modules.ejb.EjbDocletTask).

In fact the error message is confusing and incorrect (just fixed that). You're 
probably getting this error because the javax.ejb.* classes are not on the taskdef's 
classpath.

Also, try to build XDoclet from CVS and run against that (it should give you an error 
message that makes more sense and help you solve the problem). Reopen this bug if the 
problem persists.

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

Reply via email to