Vincent/Bryan,

I'm just having a go at applying this... and from looking at the code it
doesn't seem to be enough.  Vincent I couldn't see your patch on sf, and
you may have already done this I guess.   Anyway, after making this
change:

> >
> > The code around line 103 reads as follows:
> >
> >       // Make commands for any autogenerated finders required
> >
> >       Method[] homeMethods =
> > factory.getContainer().getHomeClass().getMethods();
> >
> > Looking at the CVS head (version 3.0 in-the-works, I guess), the same
> > section of code reads as follows:
> >
> >       // Make commands for any autogenerated finders required
> >       Method[] homeMethods;
> >       Method[] localHomeMethods;
> >       if (log.isDebugEnabled()) log.debug("AutoGenerated finders  - Home="
> >          + factory.getContainer().getHomeClass()
> >          + " -- LocalHome=" + factory.getContainer().getLocalHomeClass());
> >       if (factory.getContainer().getHomeClass() != null)
> >       {
> >          homeMethods = factory.getContainer().getHomeClass().getMethods();
> >       }
> >       else homeMethods = new Method[0] ;
> >       if (factory.getContainer().getLocalHomeClass() != null)
> >       {
> >           localHomeMethods =
> > factory.getContainer().getLocalHomeClass().getMethods();
> >       }
> >       else localHomeMethods = new Method[0] ;
> >

there is a bit of code that checks all the home methods for
finders.  Problem is we dont check the local home methods - so I guess
that the loop through the home methods, also has to loop through the local
home methods.

cheesr
dim


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

Reply via email to