That's the most secure way of doing it I guess. I'm not 100% sure on this,
but I thought the convention is to always call your implementation
InterfaceNameImpl. If this is true, you could just do a straight-forward
text treatment and drop de Impl from the implementation class.

Stefan Bodewig wrote:

> Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote:
>
> > In case anyone wants the rmic task to properly handle the IIOP
> > stub naming conventions, I'm posting this patch to the released
> > version 1.3 Rmic.java file.
>
> In case people haven't been following this thread but do know what to
> do here.
>
> My own little experiments show a naming convention that is a little
> difficult to follow.  If my class SomeImpl implements interface Some
> and Some extends Remote, rmic -iiop will result in _SomeImpl_Tie.class
> and _Some_Stub.class - that is the stub file name will be taken from
> the name of the interface, not the implementation.
>
> So - to determine the name of the stub file, Ant will need to use
> reflection on the class to determine the name of the interface.  Am I
> missing something?
>
> Stefan

Reply via email to