The following comment has been added to this issue:
Author: Sean Garagan
Created: Fri, 3 Jan 2003 7:41 AM
Body:
I agree that I doubt it is a bug, I just wanted to make sure :)
The taskdef is:
<path id="xdoclet.classpath">
<fileset dir="${3rdparty.dir}/${xdoclet.dir}">
<include name="*.jar"/>
</fileset>
</path>
<taskdef
name="ejbdoclet"
classname="xdoclet.ejb.EjbDocletTask"
classpathref="xdoclet.classpath"
/>
And the execution is:
<ejbdoclet
destDir="${generated.backend.dir}"
excludedTags="@version,@author">
<fileset dir="${top.backend}/src">
<include name="com/zaplet/server/**/*Bean.java" />
<include name="com/zaplet/controller/**/*Bean.java" />
<include name="com/zaplet/api/metadata/*Bean.java"/>
</fileset>
<!--dao/-->
<!--dataobject/-->
<!--entitypk/-->
<!--entitybmp/-->
<!--entitycmp cmpspec="2.x"/-->
<homeinterface prefixWithPackageStructure="false"/>
<localhomeinterface prefixWithPackageStructure="false"
pattern="{0}LocalHome"/>
<localinterface prefixWithPackageStructure="false" pattern="{0}Local"/>
<remoteinterface prefixWithPackageStructure="false"/>
<!--utilobject/-->
<deploymentdescriptor
destdir="${generated.backend.dir}/META-INF"
validatexml="false"
xmlencoding="UTF-8" />
<weblogic
createtables="false"
datasource="AppmailDataSourceTx"
destdir="${generated.backend.dir}/META-INF"
version="7.0"
validatexml="false"
xmlencoding="UTF-8" />
</ejbdoclet>
---------------------------------------------------------------------
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