facebook

xdoclet autocomplete [Closed]

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

    Andrea
    Member

    i am using MyEclipse 3.8GA, Eclipse 3.0 under NT4 and J2SE 1.4.1.
    i have upgraded xdoclet to 1.2.1 and refreshed modules and tags (but this error is even with 1.2 with no changes). i am trying to generate a mapping.xml of castor with ejbdoclet and castormapping.
    when i write “@c” the only completion available is “@castor mapping.” but i need “@castor.class”, “@castor.field”, “@castor.field-xml”….. “@castor mapping” does not exists in xdoclet!!!!!! adding the right castor tags, all is ok, mapping.xml is correctly generated, but without the help of autocompletion.

    #212597 Reply

    Riyad Kalla
    Member

    I have asked our XDoclet guy to have a look at this.

    #212626 Reply

    Andrea
    Member

    thanks in advance!

    #212644 Reply

    Greg
    Member

    There is a small problem with the exolab xdoclet module. We will have it fixed in the next patch release very soon.

    However, if you can’t wait for our fix, you can do it locally:

    1) go to the folder: $MYECLIPSE_INSTALLDIR/eclipse/plugins/com.genuitec.jboss.ide.eclipse.xdoclet.core_3.8.0/
    2) Extract the xdoclet-exolab-module-1.2.jar to a temp folder
    3) Open the META-INF/xtags.xml
    4) Edit line 7 to contain: <name>castor</name>
    5) Rejar the contents of the module, make a backup of the current copy and place new jar file in xdoclet.core plugin.
    6) Go to preference page MyEclipse->XDoclet->Code Assist and click on “Refresh XDoclet Data”

    Then your castor mapping should work correctly.

    #212703 Reply

    Andrea
    Member

    i have test this fix on xdoclet 1.2.1, modifying same jar, but now even “@castor” tag doesn’t appear on the list.

    #212717 Reply

    Andrea
    Member

    anyway, your fix is correct, if we consider xdoclet as standalone. i have posted a bug to xdoclet team (bug XDT-1027) and they have already fixed it on CVS. The new version 1.2.2 will contain your fix.
    Good work! Keep it on!

    #213187 Reply

    Scott Anderson
    Participant

    The issues discussed in this thread were addressed in MyEclipse 3.8.1

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: xdoclet autocomplete [Closed]

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