iTrace-Dev / iTrace-Eclipse

Eclipse plugin to identify textual and interface elements based on iTrace Core gaze data
GNU General Public License v3.0
5 stars 2 forks source link

Eclipse Plugin is Holding Output Files Open #45

Closed dtg3 closed 4 years ago

dtg3 commented 4 years ago

Files are unable to be moved/deleted as long as the plugin in running after starting a tracking activity.

Steps to reproduce: 1) Build Plugin from Source 2) Connect eclipse plugin to Core 3) Start tracking w/ Core 4) Stop tracking w/ Core 5) Disconnect plugin 6) Attempt to move/delete data file (it should say file in use by Java) 7) Close Eclipse environment 8) Attempt to move/delete data file (should work now)

It's not a deal breaker, but it is annoying (thus the medium priority).

dtg3 commented 4 years ago

File is also not released when starting another recording session. The results is both files are still locked "in use".

clptrsn commented 4 years ago

Fixed in 879914ecd8ac35db57aa84d5068b154fb9fc8c65 Underlying stream was not closed when the xml writer was closed. Added the closing of the stream in the dispose method

dtg3 commented 4 years ago

Works in the latest provided installer site. Files can be deleted or moved as long as plugin is disconnected.