At 20:40 2002-03-04 +0430, Ara Abrahamian wrote:
>In that file you can either hard-code the values you're talking about or
>write your own template which loops over all public static constants
>marked with @ejb:interface-field (you invent this tag) and adds them to
>remote interface. Use <XDtField:forAllField/etc/> template tags to
>writeyou're your custom template.
The template way seems to be the way to go. I've written a small template
that seems to work in a way, but the methods in XDtField is not enough.
There doesn't seem to be any way to copy the part to the right of the equal
sign into the generated file. I'm looking for something like
XDtField:fieldValue or XDtField:fieldDefaultValue that aren't there now.
Also, could something like this go into the default template? I'm willing
to create a patch when I get it to work.
My template:
<XDtField:forAllFields>
<XDtField:ifHasFieldTag tagName="ejb:interface-field">
<XDtField:fieldComment indent="3"/>
public <XDtField:fieldType/> <XDtField:fieldName/> = Don't know what to
write here;
</XDtField:ifHasFieldTag>
</XDtField:forAllFields>
/Daniel
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user