[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] File modifications in Eclipse are invisible to SVN

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-06-19 15:07:58 CEST

Niels Joncheere <njonchee@vub.ac.be> wrote on 06/19/2006 06:57:43 AM:

> I am having some trouble getting Subclipse to work after reformatting my

> Windows XP machine: after I have installed Eclipse and Subclipse, and
> checked out a project, none of the changes I make to any of the files
> seems to be registered by Subclipse (i.e., when I make a change and save

> the file, there does not appear a black star in the file's icon, and
> when I try to commit the file, Subclipse shows the message "no files
> were changed or added since the last commit").
>
> However, when I open the modified file using an external editor, the
> modifications are present in the file (the file is changed by Eclipse
> correctly, Subclipse just doesn't seem to know it). When I try to
> commit the change using the SVN command-line or using TortoiseSVN, they
> don't see any changes either. If I change something using an external
> (= non-Eclipse) editor, everything works correctly: SVN, TortoiseSVN,
> and Subclipse see that something has changed.
>
> I have tried installing several versions of Eclipse (3.1.1, 3.1.2, and
> 3.2RC7) and several versions of Subclipse (1.0.0, 1.0.3, and the latest
> development release), but the problem persists. On my laptop (a
> MacBook), everything works correctly with Eclipse 3.2RC7 and Subclipse
> 1.0.0, and on my Windows XP machine, everything worked perfectly for
> months before I had to format my hard drive.
>
> Does anyone have any idea of what I may be doing wrong?

If TortoiseSVN and the command line do not see the file as changed, I
would think it would have to not be changed. That would certainly point
to this not being specifically a Subclipse issue.

Did you format as NTFS? Did you apply any kind of special authorities or
anything to the file system?

Subversion relies on things like the file size and modification stamp as a
short-cut for determining if the file has changed. Since it all works
when using an external editor, maybe the Eclipse editors are not updating
the modification time for some reason?

Have you tried refreshing your project in Eclipse?

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Jun 19 15:08:15 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.