Bug 100745 - Timestamps not preserved when importing file system
Summary: Timestamps not preserved when importing file system
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Developer Suite
Classification: Retired
Component: Platform
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: eclipse-bugs
QA Contact: eclipse-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-24 21:49 UTC by Jeremy Handcock
Modified: 2020-03-27 18:06 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jeremy Handcock 2003-07-24 21:49:23 UTC
Description of problem:
Eclipse doesn't preserve the timestamps when importing files into the workspace
from the filesystem.  This could be problematic for tools that rely on
timestamps (ie. make).

Version-Release number of selected component (if applicable):
eclipse 2.1

How reproducible:
Always

Steps to Reproduce:
1. Create new C/C++ project (New->Project->C Project->blah blah blah) to import
files into
2. File->import->file system
3. Select some files and import them

Actual Results:  Files are timestamped with the time of import.

Expected Results:  The timestamps of the original files should be preserved upon
import.

Additional info:

See eclipse.org bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=25387 (a
proposed patch is currently available)

Related to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76087

Comment 1 Rick Moseley 2004-11-29 21:10:40 UTC
Recent changes have been made to the PDE to support this feature.  These methods
have been added:

IResource.getResourceAttributes(); 
IResource.setResourceAttributes(ResourceAttributes); 

See comments posted to the eclipse.org link above by Tod Creasey and Douglas
Pollack on 10/29/2004.  From the comments, work is proceeding now that these
methods are in place.


Note You need to log in before you can comment on or make changes to this bug.