- This topic has 10 replies, 3 voices, and was last updated 20 years, 4 months ago by bentatham.
-
AuthorPosts
-
bentathamMemberI’ve recently installed the MyEclipse trial version, and I am trying to get it to work on my existing eclipse project that uses JSP w/ JSTL. I was previously using Lomboz, and had some trouble with that, which is still appearing, and worse. I removed the lomboz plugin directories, but perhaps some stuff got left in my workspace settings that is still using lomboz somewhere, although I am fairly positive that I am using the MyEciplse JSP editor.
1) Eclipse keeps freezing, and even crashing, when trying to build the project.
2) The problem and warning markers in my JSPs do not correspond to the relevant lines…perhaps they correspond to the compiled servlet, which I cannot preview. Why not?
3) Do I have to do anything special to make the old project work? I tried to create a new J2EE Web project, but that won’t create b/c it says I am putting in wrong settings.Please help! If MyEclipse does what it says it can (all the standard eclipse java stuff — but inside JSP), that would be amazing and likely would buy it – for me, and likely convince my boss to buy it for the team!
snpeMemberI work with existing projects in myeclipse without problem – You have to create new projects, add myeclipse web possibilities and improt web source from lomboz or from any another projects
It work with myeclipseregards
bentathamMemberI have created a new web project, and now i want to import the files. how? import the file system from the old project? this screws up all my version control structure…very bad.
All I really want to do is use the JSP Editor, for gui, and also for error checking. it is strange to me that a jsp in a regular project, although it does use the jsp editor, does not catch errors that jspc via ANT throws a nullpointer on. why? does the jsp syntax checker verify the EL, etc? Why do all the J2EE plugins for eclipse do a full j2ee project thingy…all a lot of people want is a simple jsp (with JSTL) editor and debugger.
Riyad KallaMemberbentatham,
I think you really should reinstall a clean copy of Eclipse and MyEclipse to get a fair assessment of the tool. Its not clear if the errors you are getting are being caused by pluging conflict or not, and its not likely going to clear up by itself (sinec both of those plugins do share some overlap).As far as the “full J2EE thinigie”, what you want is just a “Web Module Project”, this is your typical Servlet, Struts, JSP type app.
I’m moving this post to “Support” so we can help you out.
bentathamMemberYeah, I did that already…i installed a clean eclipse 3.0 in a new directory, and even removed all the .myeclipse and .project files, etc from the project.
I then created my java project and a web project. Can you explain (or point me to the instructions) on how these two projects relate? Do they have to be 2 separate projects? Can I keep all the src jsp and java in the 1 main project and have the web module project look at the same jsp files from there?
Thanks,
Ben
snpeMemberweb project is from lomboz
I do next with myeclipse1) create java project
2) create new web directory
3) add myeclipse web possibilities and choose web dir for web
4) import source files (java and resources) in src dir of java project
5) import jsp,html, icons and web resources in web directoryimport is standard eclipse import
You can on then and clean and rebuild project (i remove html marker in 3.8 beta1 too)
It work for jsf-components, myfaces, corejsf examples and another projects
I try my project with lomboz, too, but myeclipse is better
regards
bentathamMemberAlright, I finally got my project cleanup up enough so that there are no more errors or crashing (had to turn up the max heap size in the vm!).
Anyway, I still do not have auto-complete in the JSP to my java classes, etc. It does have basic tag auto-complete though. Do I have to do anything special to get this turned on?
Also, when I run my webapp, I get some NoSuchElementException on one of my beans, which I guess means I did something wrong in my bean code/jsp parameters, but shouldn’t the JSP editor tell me this?
Thanks,
Ben
Riyad KallaMemberBen,
What are you trying to autocomplete? Please give the snippets of code. Its possible you are trying to autocomplete invalid code.For example, the following works fine:
<%
String s = “hello”;
s.| <– autocomplete here
%>As far as the project information please look here: http://myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#111 for an example project layout, also it wouldn’t hurt if you watched the tutorials either: http://myeclipseide.com/ContentExpress-display-ceid-16.html to make you more farmiliar with the tool.
bentathamMemberThanks for all your help…things are going pretty smoothly now…
As for the auto-complete, we are using almost exclusively core JSTL tags, with almost no standard <% %> stuff. Does MyEclipse support auto-complete inside EL of core tags? I imagine this would be difficult because they are all enclosed in ” “..
Eg
If I have a bean playbackBean with property numChannels,
I would love it if autocomplete would give me the rest of
<c:out value=”${playbackBean._Thanks again!
Riyad KallaMemberAhh, no support for EL yet; sorry about that, but its far from easy. We are working hard however to get it in soon (maybe next release after 3.8).
bentathamMemberthanks…
-
AuthorPosts