vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

Release installations of CodingTracker record spurious 'New File' operations #267

Closed Wanderer777 closed 13 years ago

Wanderer777 commented 13 years ago

CodingTracker installed as a release (as opposite to run from the source code) records spurious "New File" operations, where they should not be. For example, when a resource is moved and then edited, there is a "New File" operation in between, which should not be there. This problem can not be reproduced if CodingTracker is started from its source code.

reprogrammer commented 13 years ago

How serious is this problem? Can the spurious operations be removed during a post processing step?

Wanderer777 commented 13 years ago

This problem happens because Eclipse uses different aliases for the same encoding during different scenarios. On my Windows machine these are windows-1252 and Cp1252, which are the same encoding. CodingTracker should compare encodings rather than strings that represent them to make sure that aliases are considered equal.

reprogrammer commented 13 years ago

@Wanderer777: Why didn't this problem show up when you tested CodingTracker in plug-in development mode?

reprogrammer commented 13 years ago

@Wanderer777: Could you list this issue in issue #274?

Wanderer777 commented 13 years ago

@reprogrammer: