Hmm, I didn't know that there was a beta 2 yet. I don't see it at the 
download area (the "Files" page), only beta 1. Am I missing something? 
Thanks

>-----Original Message-----
>From: mckennab [mailto:mckennab@;taringold.ie]
>Sent: Wednesday, November 13, 2002 10:32 AM
>To: xdoclet-user
>Subject: [Xdoclet-user] Problem generating interfaces
>
>
>Hi,
>
>       I am using a clean copy of Xdoclet, checked out from CVS 
>yesterday and am trying to generate 'stuff' for an EJB that we're in 
>the process of porting from EJB 1.1 to 2.0.  When using Xdoclet 1.1.2, 
>and slightly different parameters, everything works fine, however, now 
>that I've moved to what calls itself 'Xdoclet 1.2.0 beta 2', I no 
>longer get home or remote (or, for that matter, the 'new' local) 
>interfaces generated.
>
>       The tags in the EJB look like this:
>
> *  <!-- XDoclet tags -->
> *  @ejb.bean  name="BusinessDataSource"
> *             display-name="Business Data Source"
> *             jndi-name="ejb/BusinessDataSource"
> *             local-jndi-name="ejb/BusinessDataSourceLocal"
> *             view-type="both"
> *             type="CMP"
> *             primkey-field="id"
> *             reentrant="False"
> *  @ejb.pk    class="java.lang.Integer"
> *  @ejb.home  
>remote-class="ie.taringold.sqlejbs.BusinessDataSourceHome"
> *             
>local-class="ie.taringold.sqlejbs.BusinessDataSourceLocalHome"
> *             generate="true"
> *  @ejb.interface  
>remote-class="ie.taringold.sqlejbs.BusinessDataSource"
> *                  
>local-class="ie.taringold.sqlejbs.BusinessDataSourceLocal"
> *                  generate="true"
> *  @ejb.value-object name="BusinessDataSource"
> *                    match="*"
> *  @ejb.transaction  type="Required"
> *  @ejb.finder  signature="java.util.Collection findAll()"
> *               query="select object(b) from BusinessDataSource b"
> *  @ejb.resource-ref  res-name="jdbc/MeasuresDS"
> *                     res-type="javax.sql.DataSource"
> *                     res-auth="Container"
> 
>My Ant (v1.5.1) task looks like the following:
>
>   <!-- Xdoclet target -->
>   <target name='xdoclet' depends='prepare'>
>      <taskdef name='ejbdoclet'
>               classname='xdoclet.modules.ejb.EjbDocletTask'
>               classpathref='xdoclet.class.path'/>
>
>      <ejbdoclet destdir='${build}'
>                 ejbspec='2.0'>
>         <fileset dir='${main.source}'>
>            <include name='**/*EJB.java'/>
>         </fileset>
>         <valueobject/>
>         <remoteinterface/>
>         <localinterface/>
>         <homeinterface/>
>         <localhomeinterface/>
>         <entitycmp/>
>         <deploymentdescriptor destdir='${build}'/>
>      </ejbdoclet>
>   </target>
>
>       Currently, the behaviour I am seeing from this is that the 
>value object, the entity CMP class, and the deployment descriptor are 
>all being built, but none of the interface classes are being 
>generated. 
>I've been pouring over the documentation since yesterday, but there 
>must be something I've missed.  I'd greatly appreciate it if someone 
>could point out the error of my ways.......
>
>
>                                               Brendan
>
>
>
>-- 
>Brendan McKenna                               Email: 
>[EMAIL PROTECTED]
>Development Strategist                Phone: +353-61-338177
>Taringold Ltd.                        Fax:   +353-61-338065
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: Are you worried about 
>your web server security? Click here for a FREE Thawte 
>Apache SSL Guide and answer your Apache SSL security 
>needs: http://www.gothawte.com/rd523.html
>_______________________________________________
>Xdoclet-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to