- This topic has 20 replies, 6 voices, and was last updated 19 years, 6 months ago by
Greg.
-
AuthorPosts
-
thecrazylabMemberSeem both 4.0.1 and 4.0.2 can’t generate xdoclet tag using Auto-Complete function, i don’t know if it is only a problem for me but when i create new method “public abstract String getId();” in a new CMP Ejb and i try to specify the xdoclet tag like “@ejb.interface-method” with Auto-Complete function no code is pasted in the source 🙁 Please let me know if this problem is a bug or a error by me tnx 😉
October 15, 2005 at 9:55 am #239477
Riyad KallaMemberThe XDoclet autocomplete is context-sensative, for example certain autocomplete is only available to classes that extend certain EJB interfaces and other things of that nature. Should your class extend or implement anuything from the EJB package?
October 15, 2005 at 11:46 am #239498
thecrazylabMembertry this:
1)create new ejb project
2)add “Standard Ejb” in MyEclipse-XDoclet Configuration
3)create a new CMP 2.x Entity Bean
4) before the end of the class add a new method “public abstract String getId();”
5) press shift+alt+j to add comment
6) inside the comment tag write “@ejb.i” and try to press ctrl+space to get the Auto-Complete list of tag, you will see that the list is empity instead to list tag like “@ejb.interface-method”
7)now delete the last “i” from “@ejb.i” and press ctrl+space to have the Auto-Complete list, list show all the tags now, “@ejb.interface-method” too
8)double click on “@ejb.interface-method” in the list and you will see that the tag is not pasted into the codei have tested this procedure using Eclipse 3.1 with MyEclipse 4.0 and it works, instead it has problem using Eclipse 3.1.1 with MyEclipse 4.0.1/4.0.2
please let me know if you can reproduce this, tnx!
October 17, 2005 at 12:12 am #239531
Riyad KallaMemberI was able to reproduce this quickly with your steps, thank you. I will file it right away as bug.
October 17, 2005 at 8:32 am #239551
thecrazylabMemberdo you think it will be fixed soon or i have to wait a little bit for the next release?
October 17, 2005 at 9:15 am #239553
Riyad KallaMemberWe are looking into it for the 4.1 release.
October 19, 2005 at 11:16 am #239723
thecrazylabMemberi want just to add an info: i have tested MyEclipse 4.0.2 with Eclipse 3.1 and Auto-Complete works good on xdoclet so i think the problem is only using Eclipse 3.1.1, bye 😉
November 1, 2005 at 2:24 am #240557
GregMemberIndeed there is a problem with XDoclet code assist when using Eclipse 3.1.1. Looks like the Eclipse guys changed how the content assist is validated. We will have a fix for this in our upcoming 4.1M1 release.
November 3, 2005 at 8:23 am #240721
Stefano BorgianniMemberHi all,
I have the SAME problem with eclipse 3.1.1 and MyEclipse 4.0.3.
When I select the an item on the completion list, it does not paste into my source code.
Need help.
Stefano
November 3, 2005 at 11:30 am #240738
GregMemberSorry guys for this inconvenience. We didn’t expect our XDoclet autocomplete to break when upgrading from Eclipse 3.1.0 to 3.1.1. But we do have a fix for this upcoming in our MyEclipse 4.1M1. We are in the QA phase for the release now, so it should be out soon.
November 7, 2005 at 7:14 pm #240972
Arthur D’AlessandroMemberGreg,
When do you suspect 4.1 to be released? The roadmap indicates Decemeber 05..November 7, 2005 at 7:47 pm #240980
Riyad KallaMemberDecember is still the expected date, M1 of 4.1 should be out soon (if it isn’t already).
December 30, 2005 at 11:03 pm #243833
mlu27768MemberStill not fixed, I just upgraded to 4.1M2 on 3.11.
To repro:
Typed @ ctrl+space, the list showed up and selected ejb by highlight+enter.
Typed . ctrl+space, the list showed up and selected persistence by highlight+enter, nothing inserted.
It works with attributes though, say you have @ejb.interface-method v ctrl+space will get you the view, however when using ctrl+space to select value for the view, the list showed up but nothing inserted when highlight+enter localDecember 31, 2005 at 1:15 am #243835
GregMemberDid you restart with a “-clean” argument? I just tested it on 4.1M2 and it works as expected.
January 1, 2006 at 2:34 am #243843
mlu27768MemberYes, I did. Is there anything I can validate against so I can be sure the -clean actually kicked in?
-
AuthorPosts