What is your ${xdoclet.classpath} for the ejbdoclet task? Most likely
you're missing some jars.
I had to add all of the jars in <xdoclet_home>/lib and my J2EE jars.
-----Original Message-----
From: Nikolay Ganev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 2:55 AM
To: [EMAIL PROTECTED]
Subject: Re[2]: [Xdoclet-user] Problem
hi,
i am using 1.2b2 version, I started ant with debug option and the
result is the same! this is the exception!
Make sure the jar file containing the ejbdoclet class is on the classpath
specif
ied in the <taskdef> that defined {2}. These classes are needed in order to
gene
rate correct output.
file:C:/Works/XDOCLE~1/build.xml:45: Unexpected error
at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:82)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
any ideas?
Monday, July 7, 2003, 7:12:33 PM, you wrote:
MG> If you are using the 1.2b3 version, this is probably the xjavadoc
problem.
MG> If so, download xjavadoc from xdoclet site and include it in your
classpath.
MG> If not so, run ant with -debug and check the stacktrace for the real
cause.
MG> ----- Original Message -----
MG> From: "Nikolay Ganev" <[EMAIL PROTECTED]>
MG> To: <[EMAIL PROTECTED]>
MG> Sent: Monday, July 07, 2003 1:00 PM
MG> Subject: [Xdoclet-user] Problem
>> hi all,
>> i receive this exception when executing build.xml ... i think that
>> source java file(containing xdoclet tags) is not accessed ... could you
MG> help?
>>
>>
>>
>>
>> this is the excepiton:
>>
>> [ejbdoclet] Make sure the jar file containing the ejbdoclet class is on
MG> the clas
>> spath specified in the <taskdef> that defined {2}. These classes are
MG> needed in o
>> rder to generate correct output.
>> [ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:501)
>> [ejbdoclet] at
MG> xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTa
>> sk.java:82)
>> [ejbdoclet] at
xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53)
>> [ejbdoclet] at
MG> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>> va:193)
>> [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
>> [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
>> [ejbdoclet] at
MG> org.apache.tools.ant.Target.performTasks(Target.java:336)
>> [ejbdoclet] at
MG> org.apache.tools.ant.Project.executeTarget(Project.java:1339)
>>
>> [ejbdoclet] at
MG> org.apache.tools.ant.Project.executeTargets(Project.java:1255
>> )
>> [ejbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:609)
>> [ejbdoclet] at org.apache.tools.ant.Main.start(Main.java:196)
>> [ejbdoclet] at org.apache.tools.ant.Main.main(Main.java:235)
>>
>> BUILD FAILED
>>
>> --
>> Best regards,
>> Nikolay mailto:[EMAIL PROTECTED]
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>> Data Reports, E-commerce, Portals, and Forums are available now.
>> Download today and enter to win an XBOX or Visual Studio .NET.
>> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
>> _______________________________________________
>> xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>
MG> -------------------------------------------------------
MG> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
MG> Data Reports, E-commerce, Portals, and Forums are available now.
MG> Download today and enter to win an XBOX or Visual Studio .NET.
MG> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
MG> _______________________________________________
MG> xdoclet-user mailing list
MG> [EMAIL PROTECTED]
MG> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
--
Best regards,
Nikolay mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user