facebook

MyEclipse for Struts: Refresh problem in jsp/xml file editor

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    gschandl
    Member

    I was editing a jsp file and I realized that my updates were visible to the editor window but were not saved to disk which led to some surprising errors when executing my struts application. This is also the case in the context of xml files…

    Eclipse:
    Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse for struts:
    Version: 3.9.211
    Build id: 20050627-4.0-Milestone-2

    #234441

    Riyad Kalla
    Member

    This is the dredded back-wards typing issue that is fixed in Milestone 3. The workaround is to do the following:

    1) Close all your editors
    2) Open the Properties view and move it somewhere it can be ALWAYS visible (not just open, but visible).
    3) Restart Eclipse
    4) Continue to work.

    If you see the problem persist, the other solution is to do what I mentioned above, but you cannot close your JSP files. Once you open them you must keep them open. They can be minimized but you just can’t close and reopen them.

    The issue is a mechanism by which Eclipse provides cached document model references, it isn’t honoring consistent behavior and in some corner cases when you reopen a file, you are given a stale document model that consumes your key events but isn’t actually updating the correct document model that is written to disk. Which is why you are seeing this strange “kinda saved” behavior until you restart.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse for Struts: Refresh problem in jsp/xml file editor

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