When I save file in Eclipse, Last Modified Time isn't changed [message #152949] |
Wed, 17 May 2006 06:03  |
Eclipse User |
|
|
|
Originally posted by: hal.ebanat.com
Hello all!
I have a problem with Eclipse. When I save file in Eclipse, "Last =
Modified" isn't changed.
1) I go to the Package Explorer and right-click on the file and select =
=
"Properties".
2) Remember "Last Modified" date
3) I edit any file (just text file or .java file - it doesn't matter) an=
d =
click "File->Save".
4) And then I go to "Properties" again and see that "Last Modified" fiel=
d =
has not been changed!
I tried to use another JDK (1.6), also I tried to change Eclipse Workspa=
ce.
I even restore Eclipse 3.1 from my archieve - it doesn't help.
When I edit file in any other editor, "Last Modified" changes!
Could anybody help me?
OS:
WinXP SP2
JVM:
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)
Eclipse:
Eclipse SDK Version: 3.2.0 Build id: I20051215-1506
|
|
|
|
|
Re: When I save file in Eclipse, Last Modified Time isn't changed [message #153021 is a reply to message #152949] |
Wed, 17 May 2006 15:27   |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Oleg Poleshuk" <hal@ebanat.com> wrote in message
news:op.s9owvwgjlvdcod@eplw037.gomel.epam.com...
> I have a problem with Eclipse. When I save file in Eclipse, "Last
> Modified" isn't changed.
> [...]
> Eclipse:
> Eclipse SDK Version: 3.2.0 Build id: I20051215-1506
Also working fine for me, in 3.1.2 and in 3.2 RC4. As a side note, it looks
like the version of 3.2 you are using is an early milestone release, you'd
probably be happier with a more recent version such as RC4. But it doesn't
seem like that would solve this particular problem, since you're seeing it
in both 3.1 and 3.2.
Here are the exact steps I performed:
1. launch Eclipse.
2. create a new Java project named "foo"
3. File -> New -> Untitled Text File
4. in editor, type text "a readme file"
5. save file, giving "foo" as parent directory and "readme.txt" as filename.
6. in Package Explorer, right-click file, Properties, remember last-mod date
7. edit file again, adding " with changes" to text
8. save file
9. repeat step 6.
For me, in step 9, the last-mod date is changed from step 6.
Are you doing different steps?
What does Windows Explorer have to say about the last-mod date before and
after step 8?
|
|
|
|
Re: When I save file in Eclipse, Last Modified Time isn't changed [message #157708 is a reply to message #152949] |
Tue, 20 June 2006 11:48  |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Oleg Poleshuk schreef:
> Hello all!
>
> I have a problem with Eclipse. When I save file in Eclipse, "Last
> Modified" isn't changed.
>
> 1) I go to the Package Explorer and right-click on the file and select
> "Properties".
> 2) Remember "Last Modified" date
> 3) I edit any file (just text file or .java file - it doesn't matter)
> and click "File->Save".
> 4) And then I go to "Properties" again and see that "Last Modified"
> field has not been changed!
>
> I tried to use another JDK (1.6), also I tried to change Eclipse Workspace.
> I even restore Eclipse 3.1 from my archieve - it doesn't help.
> When I edit file in any other editor, "Last Modified" changes!
>
> Could anybody help me?
>
>
> OS:
> WinXP SP2
>
> JVM:
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)
>
> Eclipse:
> Eclipse SDK Version: 3.2.0 Build id: I20051215-1506
See this recent post: news://news.eclipse.org/e78v36$2cf$1@utils.eclipse.org
HTH, H.
- --
Hendrik Maryns
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEmBi5e+7xMGD3itQRAnAwAJ9bvOKnQ5IViICeMRlnJBCl3o3m9wCe K3Di
X0CeBpLxTfIDs4Z/PFLvJx0=
=pc0N
-----END PGP SIGNATURE-----
|
|
|
Powered by
FUDForum. Page generated in 0.31603 seconds