If you mean replacing tags like:
    * @ejb.bean
    *    name="City"
    *    ...
with :
    * @ejb.bean
    *    name="Town"
    *    ...

then the answer is "yes I did".

Actually I just made the same experiment with the same result on my
machine at work. Environment: Debian Woody with Sun j2sdk 1.4.1_02, ANT
1.5.3-1 and XDoclet 1.2b3

Am I too stupid for this or what?
I have a few years of programming experience but
this whole thing makes me feel like complete amateur.
I bet the solution is right in front of my eyes, but I just can't see
it.

Milen

On Mon, 2003-07-07 at 14:50, Brian Topping wrote:
> 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



-------------------------------------------------------
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

Reply via email to