(CC'ed to webwork-user)

There are now two new XDoclet plugins in CVS, along with samples for
both.

WebWork doclet:
This doclet allow you to add tags to your actions that describe them.
The doclet will take this info and generate the following:
* views.properties. This file contains the action definitions and
corresponding result views
* action.html. This file contains a list of the defined actions, and
info about them. It also contains, per action, a link to the
corresponding JavaDoc for the action implementation class (if you've
done JavaDoc for your project that is).

The first is pretty obvious, but the latter is really useful. Consider
this: you're looking at a JSP, and you see that it uses an action.
However, you're using aliases so you can't see right away which Java
class to go look in for the code. Simply open open up action.html, find
the action in the list, click on the actions name, and then on the Java
class's name, and voila you're now seeing the JavaDoc for the action.
Pretty handy :-)

JMX Doclet:
This doclet allow you to add custom JavaDoc tags to MBean's and then the
doclet will generate the MBean interface for it. This is just a
convenient way of keeping the MBean interface in sync with the
implementation. Future versions will allow you to add more info about
the bean which can be used to create a proxy implementing DynamicMBean.
One step at a time :-)

Have fun with it! I hope both of these doclets will provide useful for
many users. Oh, I need to document them too I guess. Ah well, look at
the samples for now.

regards,
  Rickard

-- 
Rickard Öberg
Software Development Specialist
xlurc - Xpedio Linköping Ubiquitous Research Center
Author of "Mastering RMI"
Email: [EMAIL PROTECTED]

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

Reply via email to