Bug 100745

Summary: Timestamps not preserved when importing file system
Product: [Retired] Red Hat Developer Suite Reporter: Jeremy Handcock <handcock>
Component: PlatformAssignee: eclipse-bugs
Status: CLOSED EOL QA Contact: eclipse-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.