Thank you very much David Jencks wrote:
Support for this was added just a few minutes ago, thanks to Julien Viet.
Here's his description:
load group usage :
class tag : * @jboss.load-group * name="mygroup" * @jboss.load-group * name="mygroup2"
method tag : * @jboss.load-group * name="mygroup" * @jboss.load-group * name="mygroup2" public abstract Integer getId();
method tag : * @jboss.load-group * name="mygroup" public abstract Integer getName();
will generate 2 groups, etc...
eager-load-group usage : class tag : * @jboss.eager-load-group * name="mygroup"
lazyload-group usage : class tag : * @jboss.lazy-load-group * name="mygroup" * @jboss.lazy-load-group * name="mygroup2"
DJ> These tags look fine to me. I don't think there is any way to put the DJ> fields in separate tags. I also don't know how to put these tags on the DJ> fields themselves and collect them automatically, so I think this class DJ> level tag is the best.
DJ> Do I understand correctly that you are modifying the jbosscmp-jdbc.xdt file DJ> and will send me a copy or diff?
DJ> Thanks DJ> david
DJ> On 2003.03.03 11:47 julien viet wrote:
jbosscmp-jdbc.xdtxdoclet is bugged in merging load-groups and that enervates me to loose lot of time on a bug. I will try to see that
however *good news* I've began new tags for load-group :
@jboss.load-grop name="mygroup" field-name="field1,field2,field3"
don't I violate any xdoclet principles with the comma separated string ? is there a way to have multiple param having the same name ?
I'm almost finished. I will add eager and lazy also it seems easy. After that I give you the code and we can integrate in jboss repositoty ? at least on the jboss module, seems really feasible.
thanks
julien
DJ> The support right now is through merge files:
DJ> <XDtMerge:merge file="jbosscmp-jdbc-load-{0}.xml">
DJ> I don't know much about the lazy load groups, but presumably you can
DJ> support them through tags by including something in
also.near
DJ> this line. If you get stuck and can supply some example tags I'll
see what
DJ> I can do. Be sure to update a sample class to use the new tags
theDJ> I was waiting to upgrade xdoclet until I heard back from you that
tomorrow.DJ> previous changes were ok and probably until 1.2b3 is tagged. We can
still
DJ> get the load groups into 1.2b3 if we do it today or perhaps
lookDJ> Also, I didn't get xtags.xml updated so the previous set (at least)
of new
DJ> tags won't be visible in tools such as jbosside. If you want to
at DJ> that I'd really appreciate it.
DJ> Thanks DJ> david jencks
DJ> On 2003.03.03 05:57 julien viet wrote:
Hi David,
it seems that there is not support for jboss lazy-loading in xdoclet. Why ? would that be hard to do ? if not I can do it since I may use it for nukes and submit a patch.
other question : how often do you update xdoclet jars in our cvs ? I might require a fresher copy soon.
thanks, julien
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com
-- Best regards, julien mailto:[EMAIL PROTECTED]
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
