Hi, did you add respective subtasks to your ant task?
I think, when you specify view-type="remote" or no view-type at all, view-type="remote" is taken globally for the entire class even if you specify a view-type="local" for a method. > -----Original Message----- > From: citiz [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 9:57 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Why can't generate session local interface? > > > Hi, all > I want to use XDoclet to generate a session bean, for example > > /** > * @ejb:bean name="test/CounterSession" > * display-name="My Counter Session Bean" > * type="Stateful" > * transaction-type="Container" > * jndi-name="ejb/test/CounterSession" > **/ > public class CounterSessionBean > implements SessionBean > { > private int val; > /** > * @ejb:interface-method view-type="remote" > **/ > public int count() throws RemoteException > { > System.out.println("count()"); > return ++val; > } > } > The XDoclet works well. > but when I moidfy the jndi-name to local-jndi-name , and the > view-type of the interface-method to 'local', I can't find > the count() method in the generated file CounterSession.java . > > What's the problem? > How to make the local method work?N�HY�sSX��s'�S�u�'�*m� > (Z-W���zOE(���z�+i�"z�v��S�^��y�+�?zs)�n^ > -)�~�ڝ�ay�Z�Ǩ�z)�jp)�W�>?a����l�<�q���z��'&�Y��v*�r�e� > ��M�z|]��^���f�-)�-+-��*�n���S�l�<�q���z�m�>?�X���(��~S�z > w��X����S�b��?��*�n > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
