Bug 18927 - Copied scrapbook page uses some "old" information
Summary: Copied scrapbook page uses some "old" information
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 17:18 EDT by Darin Swanson CLA
Modified: 2002-07-23 15:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.