Manish,

yep - what you're seeing is perfectly normal.  The workaround is to create
your own javadoc engine - something that is being done atm, see the xjavadoc
module in cvs if you're intersted.

as another note, this message was sent to the old ejbdoclet lists, you
should use the xdoclet lists.  this is no doubt due to a mistake of mine in
forgetting to change the link to the list over from the documentation when
we did the 1.0 release.  The recent 1.1 release fixed this problem.

cheers
dim

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of manish
> sharan
> Sent: Monday, 21 January 2002 8:57 PM
> To: [EMAIL PROTECTED]
> Subject: [Ejbdoclet-user] ejbdoclet warnings when bean methods refer to
> Data objects
>
>
>
> Hi all ,
>
> I have recently begun using Xdoclet and I am getting this warning  from
> ejbdoclet  :
>
> [ejbdoclet]
> /home/msharan/dev/projects/ejbtutorial/src/ejbcomponents/com/trans
> ethnic/entity/address/AddressBean.java:129:
> cannot resolve symbol
> [ejbdoclet] symbol  : class AddressData
> [ejbdoclet] location: class com.transethnic.entity.address.AddressBean
> [ejbdoclet]   public Integer ejbCreate( AddressData data)
>
>
> The build process completes without any errors but with several wranings
> from ejbdoclet like the one above.
>
> My bean methods refer to the data objects but the data objects
> has not been
> generated yet , causing ejbdoclet top create warnings. Is this
> nornal ? Is
> there a way around it ? The EJBDOCLET is successfully  generates the data
> object corectly for this bean., so how why do i get the warnings ?
>
> My Address Bean is  given below. As you can see, I am using the
> @ejb:data-object tags, hopefully correctly to generate the data objects
>
>
> Thanks for your help !
>
> Regards
> -manish
>
>
>
>
>   /**
> * This is a Adress bean. It is an example of how to use the XDoclet tags.
> * @ejb:bean name="bank/Address" type="CMP" jndi-name="ejb/bank/Address"
> primkey-field="id"
> * @ejb:data-object ver-uid="7523967970034398960L" equals="true"
> * @ejb:finder signature="Collection findAll()"
> transaction-type="NotSupported"
> * @ejb:transaction type="Required"
> * @ejb:pk class="java.lang.Integer" generate="false"
> * @ejb:env-entry name="blabla" value="12345" type="java.lang.Integer"
> *
> * JBoss/JAWS CMP specific
> * @jboss:table-name "address"
> * @jboss:create-table "true"
> * @jboss:remove-table "true"
> * @jboss:tuned-updates "true"
> * @jboss:read-only "false"
> *
> * @weblogic:table-name adress
> * @weblogic:data-source-name xdoclet.database
> *
> */
>
>
>
>
> public abstract class AddressBean implements EntityBean
> {
>
>      /**
>        * Id opf theb address
>        *
>        * @ejb:interface-method
>        * @ejb:persistent-field
>        *
>        * @ejb:transaction type="Supports"
>        * @jboss:column-name "id"
>        * @weblogic:dbms-column id
>        *
>        */
>
>   public abstract int getAddressID();
>   public abstract void setAddressID( int addressID);
>
>
>   /**
>     * Street
>     * @ejb:interface-method
>     * @ejb:persistent-field
>     *
>     * @ejb:transaction type="Supports"
>     * @jboss:column-name "street"
>     * @weblogic:dbms-column street
>     *
>     */
>
>   public abstract String getStreet();
>   public abstract void setStreet( String street);
>
>
>
>   /**
>     * City
>     * @ejb:interface-method
>     * @ejb:persistent-field
>     *
>     * @ejb:transaction type="Supports"
>     * @jboss:column-name "city"
>     * @weblogic:dbms-column city
>     *
>     */
>
>   public abstract String getCity();
>   public abstract void setCity( String city);
>
>   /**
>   * State
>   * @ejb:interface-method
>   * @ejb:persistent-field
>   *
>   * @ejb:transaction type="Supports"
>   * @jboss:column-name "state"
>   * @weblogic:dbms-column state
>   *
>   */
>
>   public abstract String getState();
>   public abstract void setState( String state);
>
>   /**
>     * Zip
>     * @ejb:interface-method
>     * @ejb:persistent-field
>     *
>     * @ejb:transaction type="Supports"
>     * @jboss:column-name "zip"
>     * @weblogic:dbms-column zip
>     *
>     */
>
>   public abstract String getZip();
>   public abstract void setZip( String zip);
>
>
>   /**
>     * Generated bulk accessor.
>     *
>     * This is set as remote to allow clients to
>     * get all data in one call.
>     *
>     * @ejb:interface-method
>     * @ejb:transaction type="Supports"
>     */
>
>    public abstract AddressData getData();
>    /**
>      * Generated bulk accessor.
>      *
>      * This is set as remote to allow clients to
>      * set all data in one call.
>      *
>      * @ejb:interface-method
>      * @ejb:transaction type="Supports"
>      */
>
>    public abstract void setData(AddressData data);
>
>
>
>   public Integer ejbCreate( AddressData data)
>     throws CreateException
>   {
>
>       setData(data);
>       return null;
>   }
>
>   public void ejbPostCreate( AddressData data)
>     throws CreateException
>   {
>   }
>
>   /**
>    * Remove
>    *
>    * @ejb:transaction type="Mandatory"
>   */
>   public void ejbRemove() throws RemoveException {}
>
> }
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.


_______________________________________________
Ejbdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ejbdoclet-user


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to