Hi all! I have a (perhaps small) problem I would like to get some help with. I am currently in the process of testing and evaluating XDoclet for incorporating it in our next software project.
Right now I'm trying to use it when making a BMP entity bean. I have a very simple bean (CustomerBean). EJBDoclet succesfully generates the home and remote interfaces, as well as the PK, BMP and Data object implementation java source files. But the local versions just wont let themselves be generated... Here are some script/code snippets for your viewing pleasure. ;) Tags in the CustomerBean source file ------------------------------------------------ /** * This is a customer bean. * * @ejb:bean type="BMP" name="slice/CustomerBean" jndi-name="ejb/slice/Customer" * @ejb:bean primkey-field="id" local-jndi-name="ejb/slice/CustomerLocal" view-type="both" use-soft-locking="false" * * @ejb:ejb-ref ejb-name="slice/Customer" * @ejb:transaction type="Required" * * @ejb:pk class="slice.CustomerPK" generate="true" implements="java.io.Serializable" * * @ejb:interface generate="local,remote" remote-class="slice.Customer" local-class="slice.CustomerLocal" * @ejb:home generate="local,remote" remote-class="slice.CustomerHome" local-class="slice.CustomerLocalHome" * * @ejb:util generate="false" * */ Output from the ant/xdoclet script run: ----------------------------------------------- [...snippety snipp...] Loading source file C:\Program Files\netBeans\jonas_netbeans\system\slice\slice\CustomerBean.java... Constructing Javadoc information... Running <homeInterface/> Generating Home interface for 'slice.CustomerBean'. Running <localHomeInterface/> Running <remoteInterface/> Generating Remote interface for 'slice.CustomerBean'. Running <localInterface/> Running <entitypk/> Generating PK class for 'slice.CustomerBean'. Running <dataobject/> Generating Data Object class for 'slice.CustomerBean'. Running <entitybmp/> Generating BMP class for 'slice.CustomerBean'. Running <utilObject/> BUILD SUCCESSFUL Total time: 4 seconds ----------------------------------------------- As you can see, I have specified that I want both interface types to be generated (as per the manual). Has anyone experienced this problem or do you have any ideas that could help me solve this? Best regards, Jonas Bergqvist _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
