- This topic has 9 replies, 3 voices, and was last updated 18 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
Ken NelsonMemberI am having a very wierd issue. When I edit a file and save it, it is saving the file, but not updating file attributes. I noticed this when using subversion (TortosieSVN and Subclipse plugin). I have since removed both, but still the problem persists.
Any ideas?
Thanks,
Ken
Ken NelsonMemberOn other thing. When I edit the file using notepad, the file attributes are updated (Date/Time). I am running Eclipse Castillo 3.2.0 with My Eclipse 4.9.200 all on Windows.
Ken
Brian FernandesModeratorKen,
Which editor are you editing and saving the file in, and what are you using to check the attributes? If you save the file in eclipse, then open the file in an external editor, do you see the new content?
Could you answer all other relevant questions asked here: Posting Guidelines
Please pay special attention to the Error log and paste that here if any errors are thrown on save.Best,
Brian.
Ken NelsonMemberI am using the Java Class editor. Once I edit and save the file, if I open it with notepad I see the change to content, however the timestamp is not updated. If I edit the file with notepad and save, then the timestamp is updated. I have also noted that for my build to work, I have to do a clean, even if I have automatic build turned on.
Some other things to note, it seems to be a problem with my configuration. I have already uninstalled MyEclipse, removed eclipse and reinstalled everything. My first install, I had installed Subclipse as well, but I do not have it installed now. My latest install is just eclipse, and I still have the problem.
I am sure it is something stupid, I have been pullingout my hair on this one. Thank you for you help.
Ken
Ken NelsonMemberOops! My bad forgot to add the configuration information. Here you go:
Config
<SNIP, please use MyEclipse > About MyEclipse > Installation Summary, it’s a summarized version of that huge dump>
Ken NelsonMemberLooks like the error log did not get posted
!ENTRY org.eclipse.core.resources 2 1 2006-07-31 10:59:47.731
!MESSAGE Skipping builder com.adobe.flexbuilder.project.flexbuilder for project DAO. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.!ENTRY org.eclipse.wst.internet.cache 1 0 2006-07-31 10:59:51.016
!MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.!ENTRY org.eclipse.core.resources 2 1 2006-07-31 11:00:11.946
!MESSAGE Skipping builder com.adobe.flexbuilder.project.flexbuilder for project Workbench. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
Ken NelsonMemberOK. The last post are the errors I already know about. Theya re becuase I have some projects complaining about not having flex installed.
here is the complete error log.
!SESSION 2006-07-31 10:51:32.139 ----------------------------------------------- eclipse.buildId=M20060629-1905 java.version=1.5.0_07 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:33.437 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\css_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:33.737 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\forms_lists_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:33.868 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\htmlform_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:34.068 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\html_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:34.268 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\javascript_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:34.448 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\jsf_f_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:34.699 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\jsf_h_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:34.919 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\struts_bean_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:35.149 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\struts_html_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:35.340 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\struts_logic_snippets.xml !ENTRY com.genuitec.eclipse.wizards 1 0 2006-07-31 10:52:35.540 !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 5.0M2\eclipse\plugins\com.genuitec.eclipse.wizards_4.9.200\snippets\struts_tiles_snippets.xml !ENTRY org.eclipse.jst.jsf.core 1 0 2006-07-31 10:52:36.481 !MESSAGE Could not load JSF Library Registry; creating new registry !ENTRY org.eclipse.core.resources 2 1 2006-07-31 10:59:47.731 !MESSAGE Skipping builder com.adobe.flexbuilder.project.flexbuilder for project DAO. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled. !ENTRY org.eclipse.wst.internet.cache 1 0 2006-07-31 10:59:51.016 !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed. !ENTRY org.eclipse.core.resources 2 1 2006-07-31 11:00:11.946 !MESSAGE Skipping builder com.adobe.flexbuilder.project.flexbuilder for project Workbench. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
Riyad KallaMemberA few things.
1) Start MyEclipse, select a file, write down the timestamp.
2) Edit the file, save it (remember your modification) and check timestamp (be sure you are waiting atleast a minute before saving). Close the editor, restart MyEclipse
2) Reopen your file, is the change there? Don’t do anything, now check the timestamp on the drive, is it still right/wrong?
3) Edit the file, save it again, check the timestamp. Still right/wrong?If any of the timestamps above were wrong AND you are positive you waited atleast a minute before editing and saving, try the exact same steps over again with a new workspace: File > Switch Workspace > C:\tempworkspace, hit OK to restart, and report back your findings please.
Ken NelsonMemberCreated project Kentest (MyEclipse/J2EE Projects/Web Project)
Created package com.sanclementetech
Created class Test.java
RMB/Properties Last Modified August 1, 2006 11:23:29 AM
Opened Windows Explorer/went to dir Test.java Date Modified 8/1/2006 11:23 AM@ approximately 11:26 AM
Modified File by adding a constructor method
RMB/Properties Last Modified August 1, 2006 11:27:02
Went to Windows Explorer/went to dir Test.java Date Modified 8/1/2006 11:27 AM@ approximately 11:29 AM
Modified File by adding method foo()
RMB/Properties Last Modified August 1, 2006 11:29:35
Went to Windows Explorer/went to dir Test.java Date Modified 8/1/2006 11:29 AMSo it appears to have magically resolved itself. Not sure what the deal was. I will continue to watch this and see it pops up again.
Riyad KallaMemberThank you for the very detailed followup, I’m glad to hear it’s working correctly again. Sometimes if the document gets corrupt you can *see* saved contents, but after restarting the file contents have been magically reverted, but that didn’t sound like what was happening here cause you could see the correct contents with notepad.
Either way glad it’s working now.
-
AuthorPosts