I guess that you do not have <remoteinterface> and
<localinteface> sub-task declared in you ejbdoclet
task.

Best,

==
 --- Milen Dyankov <[EMAIL PROTECTED]> 的正文:> 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_061203_01/01
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user 

_________________________________________________________
Do You Yahoo!? 
国内电邮用户反垃圾调查拉开帷幕
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.tech.yahoo.com/zhuanti/laji/index.html


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