Vincent,

I thanked you (offline) before trying it, but this fix is not working for
me.  It is still having the same behavior (not picking up a method if
parameters is not specified).

I've verified that I'm running the latest from CVS.

    Erik


----- Original Message -----
From: "Vincent Harcq" <[EMAIL PROTECTED]>
To: "'Erik Hatcher'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 1:05 AM
Subject: RE: [Xdoclet-devel] Re: [Xdoclet-user] XDtMethod:ifHasMethod ????


Hi,
There was a bug.
This has been fixed in CVS.
Thanks for reporting.
Vincent.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf
> Of Erik Hatcher
> Sent: mardi 26 f�vrier 2002 0:33
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] Re: [Xdoclet-user] XDtMethod:ifHasMethod ????
>
>
> Now posting this over to -devel.  It seems that ifHasMethod
> is broken.  Or is it just me?
>
>
>
> ----- Original Message -----
> From: "Erik Hatcher" <[EMAIL PROTECTED]>
>
> >   <XDtMethod:ifHasMethod name="setValue">
> >         without parameters
> >   </XDtMethod:ifHasMethod>
> >
> >   <XDtMethod:ifHasMethod name="setValue"
> parameters="java.lang.String">
> >     with parameters
> >   </XDtMethod:ifHasMethod>
> >
> > All I get generated is "with parameters".  That is not what the
> > documentation says about ifHasMethod:
> >
> > "Evaluate the body if current class has a method with the specified
> > name+parameters. If parameters not specified then any
> method with the
> given
> > name and any set of parameters is considered equal to the
> given method
> name
> > and so the test result is positive and the body is evaluated. This
> > method does not change the current method to the one specified."
> >
> > Clearly I have a setValue method - so why doesn't the first
> > ifHasMethod
> pick
> > it up?  Shouldn't it?
> >
> > I tried replacing the first 'ifHasMethod' with
> 'setCurrentMethod' and
> > it still did not get picked up.
>
>
>
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
>





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

Reply via email to