Bug 19918

Summary: DESCRIPTION change flag and Project.move
Product: [Eclipse Project] Platform Reporter: DJ Houghton <dj.houghton>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: aswenson
Version: 2.0   
Target Milestone: 2.0 F3   
Hardware: PC   
OS: All   
Whiteboard:

Description DJ Houghton CLA 2002-06-11 12:53:14 EDT
build 2002-06-10.

When you move a project, the DESCRIPTION change flag is not set. Here are the 
deltas which are generated:

Doing a project rename: (aaa to bbb)

/[*]: {}
/aaa[-]: {MOVED_TO(/bbb)}
/aaa/.project[-]: {MOVED_TO(/bbb/.project)}
/aaa/foo.txt[-]: {MOVED_TO(/bbb/foo.txt)}
/bbb[+]: {MOVED_FROM(/aaa) | OPEN}
/bbb/.project[+]: {CONTENT | MOVED_FROM(/aaa/.project)}
/bbb/foo.txt[+]: {MOVED_FROM(/aaa/foo.txt)}

Doing a project move: (bbb from default for c:/temp/bbb)

/[*]: {}
/bbb[*]: {}
/bbb/.project[*]: {CONTENT}
Comment 1 Kevin McGuire CLA 2002-06-11 14:31:24 EDT
This is consistent with what I saw, the add/remove for rename but not for move.
Comment 2 DJ Houghton CLA 2002-06-11 17:58:21 EDT
Fixed.

Doing a project move: (bbb from c:/temp/bbb to default location)

/[*]: {}
/bbb[*]: {DESCRIPTION}
/bbb/.project[*]: {CONTENT}

Doing a project rename: (bbb to aaa)

/[*]: {}
/aaa[+]: {MOVED_FROM(/bbb) | OPEN | DESCRIPTION}
/aaa/.project[+]: {CONTENT | MOVED_FROM(/bbb/.project)}
/aaa/foo.txt[+]: {MOVED_FROM(/bbb/foo.txt)}
/bbb[-]: {MOVED_TO(/aaa)}
/bbb/.project[-]: {MOVED_TO(/aaa/.project)}
/bbb/foo.txt[-]: {MOVED_TO(/aaa/foo.txt)}
Comment 3 DJ Houghton CLA 2002-06-11 21:04:32 EDT
Fixed. Tested. Released.