Bugs item #530110, was opened at 2002-03-15 00:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=530110&group_id=31602

Category: xdoclet
Group: v1.1.2
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Andrew Stevens (stevensa)
Assigned to: Nobody/Anonymous (nobody)
Summary: Template errors throw exception not msg

Initial Comment:
It just took me almost an hour to discover the 
bluestone template's got a single missing '/', because 
instead of the nice friendly error message 
(template_close_tag_missing) that would have told me 
immediately where the problem was, it just 
said "javadoc: In doclet class 
xdoclet.DocletTask$DocletMain, method start has thrown 
an exception 
java.lang.reflect.InvocationTargetException" instead.


----------------------------------------------------------------------

>Comment By: Andrew Stevens (stevensa)
Date: 2002-04-05 11:18

Message:
Logged In: YES 
user_id=247081

>Fixed by stevensa.

It was?  Not that I know of.

I did fix my error in the Bluestone template, but that's 
not the point of this issue i.e. that instead of a 
meaningful error message xdoclet threw a cryptic exception.

I just tried it again with a current (as of yesterday) copy 
from CVS; it still throws an exception (albeit a different 
one) instead of a template_corresponding_tag_missing or 
template_close_tag_missing message, so I'm changing the 
status back to unresolved.

[ejbdoclet] Running <bluestone/>
[ejbdoclet] java.lang.RuntimeException: Error running 
XDoclet
[ejbdoclet]     at xdoclet.XDocletMain.start
(XDocletMain.java:77)
[ejbdoclet]     at xjavadoc.ant.XJavaDocMain.main
(XJavaDocMain.java:94)
[ejbdoclet]   Generating output 'hp-ejb-jar.xml' using 
template 
file 'jar:file:D:\Development\Java\xdoclet\core\samples\lib\
xdoclet.jar!/xdoclet/ejb/vendor/bluestone-hp-ejb-jar_xml.j'.
[ejbdoclet] Running XDoclet failed
[ejbdoclet] <<Running XDoclet failed.>>


----------------------------------------------------------------------

Comment By: Mathias Bogaert (pathoss)
Date: 2002-04-04 13:12

Message:
Logged In: YES 
user_id=102175

Fixed by stevensa.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=530110&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to