facebook

xdoclet shared tag for jonas

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241587 Reply

    oschei
    Member

    The xdoclet shared tag for JONAS doesnt work.
    e.g. @jonas.shared=”true”
    I can insert it manually, but thats not a good solution, because I want to use xdoclet.
    The other tags are ok 😉

    Thanks

    Oliver

    #241617 Reply

    Riyad Kalla
    Member

    Oliver,
    We will look intot his, but I have a feeling this might be an issue of the @shared tag being new.

    #241895 Reply

    Greg
    Member

    Oliver,

    Are you putting this type in the comments at the top of an Entity bean class? What is the version attribute you are setting for Jonas? According to the documentation for XDoclet that tag is only available after version 2.4. Also make sure you have @jonas.bean ejb-name=”xxx” in your class comments. I tested this by just putting the following into the comments for a EJB CMP bean and also added the jonas subtask to the standard EJB configuration.

     * @jonas.bean 
     *         ejb-name="Person"
     *          
     * @jonas.shared 
     *         shared="true"

    After I ran xdoclet, the jonas file contains the correct shared entry.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: xdoclet shared tag for jonas

You must be logged in to post in the forum log in