Bug 18927

Summary: Copied scrapbook page uses some "old" information
Product: [Eclipse Project] JDT Reporter: Darin Swanson <Darin_Swanson>
Component: DebugAssignee: Jared Burns <jared_burns>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: All   
Whiteboard:

Description Darin Swanson CLA 2002-06-03 17:18:16 EDT
Perform an evaluation in a scrapbook page in Test 3
Copy the scrapbook page from project Test3 to project Test4.
Perform an evalution in the the copied scrapbook page in Test 4

Take a look at the ..\.metadata\.plugins\org.eclipse.debug.core\.launches\ and 
find the .launch file for the last scrapbook launch

The scrapbook file path still points to the old project e.g.:
 <stringAttribute key="org.eclipse.jdt.debug.ui.scrapbook_file_path" 
value="/Test3/Copy.jpage"/>
Comment 1 Darin Wright CLA 2002-06-11 10:46:50 EDT
Deferred
Comment 2 Darin Swanson CLA 2002-07-08 17:02:00 EDT
Reopening for investigation.
Comment 3 Darin Swanson CLA 2002-07-11 12:11:07 EDT
When a launch configuration is starting to perform an evaluation it now checks 
to ensure that it is still contained in the same project.  If the project has 
changed, the launch configuration memento is re-persisted on the resource.
Comment 4 Jared Burns CLA 2002-07-23 15:41:05 EDT
Verified.