> However, I seem to recall someone saying a while back that the
> @xdoclet-generated might also be used as a check to stop xdoclet from
> processing the generated files (e.g. if you've just specified the
packages
> parameter in the task, instead of using a fileset that only includes
the
> files to process, like <include name="**/*EJB.java"/>).  If so, it may
not
> be a good idea to leave it out completely, and if there's a switch
added
> somewhere for whether or not @xdoclet-generated should include the
> date/time, it doesn't really matter if it's in its own template tag,
or
> still part of <XDtClass:classCommentTags/>  So, I guess I might as
well
> leave it in there for now and we can worry about the switch later?

Just remove the timestamp. It's of no use. And for sure we won't use it
for stopping Xdoclet from regenerating something. That needs loading the
file, parsing it and analyzing it. Why should we when the
lastModified()==timestamp?

Anyway atm I'm thinking about enhancing TemplateSubTask to also check
for lastModified() of files and stop regenerating
ejb-jar.xml/other-descriptors when no classes changed.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to