- This topic has 20 replies, 6 voices, and was last updated 18 years, 11 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 😉
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?
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!
Riyad KallaMemberI was able to reproduce this quickly with your steps, thank you. I will file it right away as bug.
thecrazylabMemberdo you think it will be fixed soon or i have to wait a little bit for the next release?
Riyad KallaMemberWe are looking into it for the 4.1 release.
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 😉
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.
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
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.
Arthur D’AlessandroMemberGreg,
When do you suspect 4.1 to be released? The roadmap indicates Decemeber 05..
Riyad KallaMemberDecember is still the expected date, M1 of 4.1 should be out soon (if it isn’t already).
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 local
GregMemberDid you restart with a “-clean” argument? I just tested it on 4.1M2 and it works as expected.
mlu27768MemberYes, I did. Is there anything I can validate against so I can be sure the -clean actually kicked in?
-
AuthorPosts