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

Re: Performance: why rebuild even if no change after update?

From: Eugene Kuleshov <eu_at_md.pp.ru>
Date: 2005-10-11 09:09:29 CEST

Martin,

  I wonder how subclipse currently subscribed for changes?
  Eclipse already does all the job for tracking down all the changes and
notifying interested parties. Probably the simplest way to register for
this is to create a builder (usually comes with nature too). It will be
called automatically when Eclipse detect incremental changes in the
project or on full rebuild.

  regards,
  Eugene

Martin Letenay wrote:

>>Hi,
>>
>>after an update that hasn't retrieved any file (because the
>>project is already uptodate), it seems to me that Eclipse
>>starts to re-build the whole project. Wouldn't it make sense
>>that subclipse inform Eclipse more precisely about which
>>files have been changed?
>>
>>
>Yes. It would.
>;-)
>
>Well, it's know problem but there's not know 100% correct solution.
>The very problem comes from the subversion itself.
>Even in case there was no change done to the working copy, the (AFAIR)
>.entries file in .svn meta folder is touched on the filesystem.
>Subclipse then, does not parse the content of the .entries, but just listens
>on the "resource modified" event reported by the underlying eclipse ...
>
>There are few more such less-than-optimal features of Subclipse related to
>performance.
>The main problem is to find out reliable mechanism for various events - to
>watch for modification to files done within eclipse (edits), to check
>for modification caused by svn actions triggered by subclipse and also to
>recognize the changes done to working copy by external tools (cmd line,
>tortoise etc ...)
>
>And of course not forgetting the reather poor performance of "svn status" on
>Windows' filesystems
>
>Martin
>
>
>
Received on Tue Oct 11 17:09:29 2005

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.