Skip to main content



      Home
Home » Newcomers » Newcomers » When I save file in Eclipse, Last Modified Time isn't changed
When I save file in Eclipse, Last Modified Time isn't changed [message #152949] Wed, 17 May 2006 06:03 Go to next message
Eclipse UserFriend
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 #152957 is a reply to message #152949] Wed, 17 May 2006 07:22 Go to previous messageGo to next message
Eclipse UserFriend
Oleg Poleshuk wrote:

> 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?

Works fine for me. Try a non-beta JRE.

Dani

>
>
> 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 #152974 is a reply to message #152957] Wed, 17 May 2006 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hal.ebanat.com

On Wed, 17 May 2006 14:22:31 +0300, Daniel Megert
<daniel_megert@ch.ibm.com> wrote:

>> I have a problem with Eclipse. When I save file in Eclipse, "Last
>> Modified" isn't changed.

>
> Works fine for me. Try a non-beta JRE.



I've tried the next JDK:
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)


And the issue still reproduces.
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #153710 is a reply to message #152974] Mon, 22 May 2006 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Oleg Poleshuk wrote:

> On Wed, 17 May 2006 14:22:31 +0300, Daniel Megert
> <daniel_megert@ch.ibm.com> wrote:
>
>>> I have a problem with Eclipse. When I save file in Eclipse, "Last
>>> Modified" isn't changed.
>>
>
>>
>> Works fine for me. Try a non-beta JRE.
>
>
>
>
> I've tried the next JDK:
> java version "1.4.2_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
>
>
> And the issue still reproduces.

Then please file a bug report against Platform Text with steps to reproduce.

Dani
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 Go to previous message
Eclipse UserFriend
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-----
Previous Topic:Problems after crash: incremental build no longer works
Next Topic:Customizing model editor generation
Goto Forum:
  


Current Time: Tue Jul 22 14:04:45 EDT 2025

Powered by FUDForum. Page generated in 0.12261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top