I think what you want is :

/**
 * 
 * @ejb:interface local-extends="foo.FooLocal" extends="foo.Foo"
 *
 */

i.e. everything in the one tag

jmp

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Thursday, June 06, 2002 11:11 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] @ejb:interface extends
> 
> 
> Hi folks,
> 
> I'm trying to extend the remote AND the local interface. In order to
> achieve this, I added the following tags:
> /**
>   .
>   .
> * 
> @ejb:interface local-extends="foo.FooLocal"
> * @ejb:interface extends="foo.Foo"
>   .
>   .
> **/
> 
> Xdoclet generated the two interfaces:
> 
> Local:
> 
> public interface MyFooLocal extends foo.FooLocal {
> ...
> }
> 
> Remote:
> 
> public interface MyFoo extends javax.ejb.EJBObject {
> ...
> }
> 
> As one can see, the local interface was generated properly. The remote
> interface however is not quite right. It's supposed to extend foo.Foo and
> not the default EJBObject.
> If I switch the order of the two tags:
> 
> /**
>   .
>   .
> * @ejb:interface extends="foo.Foo"
> * 
> @ejb:interface local-extends="foo.FooLocal"
>   .
>   .
> **/
> 
> The remote interface is now generated right and the local interface is
> generated wrong. (vice-versa from the result above).
> 
> Has anyone got a clue on how to avoid this behavior. I tried to see if I
> could find something in the src, but since I'm not very familiar with the
> internals of Xdoclet I wasn't able to spot anything that would help.
> 
> Thanks a lot for your help
> 
> chriss
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to