Modifying files in Eclipse not updating timestamp

J

Java and Swing

I have a Java project open in Eclipse, and I can open and modify my
class files just fine. However, when I look at the file on disk the
"Date Modified" is not changing. This is causing a problem with my use
of subclipse.

Anyone ever have this problem or know how to fix it?

I have tried Eclipse 3.1 and even Eclipse 3.2 RC7 on a brand new
Windows XP Pro laptop.
 
O

Oliver Wong

Java and Swing said:
I have a Java project open in Eclipse, and I can open and modify my
class files just fine. However, when I look at the file on disk the
"Date Modified" is not changing. This is causing a problem with my use
of subclipse.

Anyone ever have this problem or know how to fix it?

I have tried Eclipse 3.1 and even Eclipse 3.2 RC7 on a brand new
Windows XP Pro laptop.

Are you really editing your class files, or are you perhaps editing your
java files?

Perhaps eclipse avoids recompiling class files which are not affected by
changes to the java files.

- Oliver
 
H

Hendrik Maryns

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Java and Swing schreef:
I have a Java project open in Eclipse, and I can open and modify my
class files just fine. However, when I look at the file on disk the
"Date Modified" is not changing. This is causing a problem with my use
of subclipse.

Anyone ever have this problem or know how to fix it?

I have tried Eclipse 3.1 and even Eclipse 3.2 RC7 on a brand new
Windows XP Pro laptop.

The bad guy is probably ZoneAlarm, see this post:

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)

iD8DBQFEmBiEe+7xMGD3itQRAtmVAJ9FP1AKJZOnEe7dhDB5qXKBhJjitgCeLe77
TAnSktNOQvQJO31sza96QVU=
=Jl+Y
-----END PGP SIGNATURE-----
 
J

Java and Swing

well, i think this is just a windows problem.

I tried another scenario. I have a python script, say Foo.py which I
have executed before so there exists a Foo.pyc.

So, I edited Foo.py and then executed it again. Sure enough my changes
were not displayed, and the Foo.pyc timestamp was old. So I deleted
the pyc file, and re-ran the python script....it worked as expected
this time, generating a new pyc file with my latest changes.

I'll read the news item about ZoneAlarm (since i have the free version
installed).

how can I read that news link?? when I try it in the browser Outlook
Express opens and fails to connect to the link.

thanks
 
J

Java and Swing

ok, thanks. did that, now how can i read the messages? what news
reader do you use? outlook express says that most likely the message
is deleted or expired.
 
J

Java and Swing

so i have an account, however, i cant get outlook express to connect to
the news server to download the groups.

could u email me or post the item you linked to?

thanks
 
O

Oliver Wong

Java and Swing said:
ok, thanks. did that, now how can i read the messages? what news
reader do you use? outlook express says that most likely the message
is deleted or expired.

I use Outlook Express. I forgot to mention, but did you set up the
account in OE? Go to tools -> accounts, click "Add" and configure an account
there. When I click the link, OE downloads the message from the appropriate
newsgroup.

- Oliver
 
O

Oliver Wong

Java and Swing said:
so i have an account, however, i cant get outlook express to connect to
the news server to download the groups.

could u email me or post the item you linked to?

thanks

<quote>
Hi there,

Just a little "heads-up" to people using the latest update of
ZoneLabs' ZoneAlarm with Eclipse on Windows (Windows 2000 in this case).
Upgrade to ZoneAlarm 6.5.714.000 will cause the Workspace files'
"Modification Date" to no longer be updated. This means all the CVS
synchronization will go down the tubes (in particular you will lose
any local changes when you do blind updates). Very very baaaad.

Took me a few hours to find the problem, I did a full upgrade of
Eclipse and the JVM, even rolled back the latest Windows hotfixes ...
to no avail until I found this:

http://forum.zonelabs.org/zonelabs/board/message?board.id=Antivirus&message.id=12034

Note that a test program run in Eclipse, i.e. code doing the usual
/open,write,close,sleep,open,append,close/ operations
works like a charm, i.e. modification date is updated correctly. Confusing.

So... out goes ZoneAlarm. And ... back to work. Yeah. That's about it.

Some keywords for the search engines:

Modify Modification Modified Date Time Problem Eclipse

Best regards,

-- David
</quote>

- Oliver
 
C

Chris Uppal

Java said:
Big surprise! i removed Zone Alarm 6.5.714 ...and everything is fine.
I am rolling back to Zone Alarm 6.1 (check out www.filehippo.com for
past revisions). or www.oldversion.com

And I have added ZoneAlarm to my blacklist of software vendors who cannot,
under any possible circumstance, be trusted.

/Gross/ incompetence.

-- chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top