| Summary: | pasting a project or folder from another workspace does not work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Bozier jerome <jerome.bozier> | ||||||
| Component: | TPTP | Assignee: | Bozier jerome <jerome.bozier> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Kathy Chan <kathy> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | paulslau | ||||||
| Version: | unspecified | Flags: | paulslau:
review+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Bozier jerome
after some testing, pasting a folder seems to works well (i made a mistake on my first testing, folder was already existing in target workspace) some problems still exists for projects, investigating update : in case of a paste of external resource, the change created is performed there : org.eclipse.hyades.test.ui.internal.navigator.refactoring.PasteFileChange in this configuration, file is null and externalFileName contains in fact a folder/project name the call to : InputStream source = new FileInputStream(externalFileName); raise an exception (it is supposed to be used on a real file name, not on a container) todo : . find a way to check that name contained inside the clipboard is a container and not a file . create a constructor for "PasteProjectChange" that can use clipboard entry instead of a classic IFolder updating estimated time, some few work to make this Created attachment 177623 [details]
patch
this patch add a new kind of change to be able to make an external paste of folder (external mean copy from outside current workspace, as from another eclipse or file explorer)
Paul, could you review this patch please ? no hurry, i will not push it today (lots of testing remaining) and it is not urgent enough to pass PMC many thanks in advance Reviewed. I would suggest not using a translated string, if at all possible since the target release will not be translated. Created attachment 177847 [details]
patch V2
this patch replace previous one, fixed following Paul comments
manual test added under CVS
will push this patch and update "allTest" + wiki when we'll no longer under PMC approval, this fix is not vital enough to be pushed at the moment
alltest updated and pushed under CVS wiki updated patch delivered under CVS This defect had been resolved as FIXED for more than 1 month. Please verify with the latest TPTP 4.7.2 driver. If this defect is still left unverified by February 25, we'll close it on the originator's behalf. TPTP 4.7.2 driver can be downloaded from: http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2 closing |