> With my value object stuffs getting more and more complex, I want to
add
> comments in the J files

I agree with Aslak in this case :-)

Don't try to program with xml-ish XDtblabla, just use very high level,
very coarse grained template tags.

> Could we have something like
>       <XDtComment:comment>I do this because ...</XDtComment:comment>
> that would not be generated

Good. And to make it easier to distinguish you can easily create a new
coloring for <XDtComment:comment>. So I don't agree with Andrew's
proposal here, because: 1- coloring makes it distinguishable in your
editor so no need for a radically different // /** style. 2- it's easy
to implement, it's just a template tag.

> And maybe also
>       <XDtComment:comment generate="true">Bla bla
> bla</XDtComment:comment> that would be generated between /* */
> What do you think ?

And why? If I understand it correctly generate="true" causes the comment
to appear also in output document, but what's the problem with using raw
/** // in templates outputting java source and <!-- in xml-ish ones?
It's limiting, how about a template which generates VB code? :-) Will
you support outputting VB comments too?! ;-)

Cheers,
Ara.



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

Reply via email to