When you need to add extra stuff to generated files, look in the .xdt
templates (in the source and in the JARs) for "merge points". You can
read about them in the documentation, but the docs don't list where they
are -- just how to use them. So, looking in
xdoclet\modules\ejb\home\resources\home.xdt I see

   <XDtMerge:merge file="home-custom.xdt">

at the bottom of the file before the closing brace. Check the docs on
merge points (http://xdoclet.org/merge.html) for what you need to do.
Basically, you'll create a file called "home-custom.xdt" and put it into
a directory of your choosing. Then you'll point the <homeinterface> task
to that directory.

And now I see that you didn't mention *home* interfaces at all; that was
a previous post. Anyway, the same thing applies. Look in the templates
and search for XdtMerge.

David Harkness
Sony Pictures Digital Networks
(310) 482-4756


-----Original Message-----
From: Poppe, Troy [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 04, 2003 6:41 AM
To: Xdoclet-User (E-mail)
Subject: [Xdoclet-user] Is it possible to add static fields to generated
interfaces?



I think the subject pretty much says it all.  I'd rather not have to
edit my generated code to put in some static fields that I need.  I
don't see in the documentation that there are any @ejb attributes for
fields.

Thanks.

Troy Poppe



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to