Milen, I presume you did this in the class header tags as well, right? Just checking.
-b > -----Original Message----- > From: Milen Dyankov [mailto:[EMAIL PROTECTED] > Sent: Monday, July 07, 2003 5:55 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] EJB interfaces are not generated > > > Hi all, > I've been hearing people talking about how useful XDocled is, so I > decided to give it a try. > > My first 'successful' try of using "ejbdoclet" task, generated the > deployment descriptor, and some Jboss specific XMLs. However no remote > or local interfaces were generated and the above mentioned XMLs were > empty (I mean the main structure and comments are there, but there is > noting about the CMP class). > > To test if "XDoclet" and "Ant" are working correctly, I went to > "$XDOCLET_HOME/samples" directory and ran "ant" from there. All > interfaces, XMLs, etc. were generated properly with no > problems at all. > > Among samples there is CMP Bean > "$XDOCLET_HOME/samples/src/java/test/ejb/cmr/CityBean.java" > which I copied to > "$XDOCLET_HOME/samples/src/java/test/ejb/cmr/TownBean.java". > Then I replaced all occurrences of "City" and "city" in > "TownBean" with > "Town" and "town" respectively. > > Running "ant" again resulted in NO interface being created for > "TownBean". At first, I thought that for some reason the class is > omitted and not parsed at all. Then I made "TownBean" to > contain illegal > java code (removed one ";") and I got error message from the > "ejbdoclet" > task. This means that "TownBean" is not omitted. > > I cleared the whole 'target' directory - it was rebuild, but without > "TownBean". I have made changes in other classes - they were > regenerated > successfully. For every new class (even if it is created by > coping and > pasting code from an existing one) it does not work. > > Can someone explain to me what is going on? > Am I doing something wrong? > > My environment: > Windows XP, Sun's j2sdk 1.4.0, Ant 1.5.3, XDoclet 1.2beta2 > > Milen > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
