Bug 154425 - [Import/Export] Should support import to root (/) again
Summary: [Import/Export] Should support import to root (/) again
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-08-19 02:25 EDT by keldon alleyne CLA
Modified: 2019-09-06 16:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description keldon alleyne CLA 2006-08-19 02:25:39 EDT
In recent versions of eclipse your project will export to "./projectName" in the zip archive export, yet will now only allow imports to "./projectName" placing your imported zip into "./projectName/projectName" making it impossible to directly import a project that has been exported with eclipse.

This is only a recent problem as previous versions of eclipse allowed imports to "./"
Comment 1 Tod Creasey CLA 2007-06-22 15:54:03 EDT
You can re-import using the import projects wizard. 

Bug 157198 discusses how we should bring these more in line.
Comment 2 keldon alleyne CLA 2007-06-22 15:59:29 EDT
I think you missed the point; in previous versions of Eclipse this was possible. The only reason why it is not possible any more is because the validation check got changed to not allow imports to "./". In short the archive export is 100% incompatible with the archive import, i.e. if you export an archive you cannot import the said archive directly back into Eclipse like you were previously able to.(In reply to comment #1)

> You can re-import using the import projects wizard. 
> 
> Bug 157198 discusses how we should bring these more in line.
> 

Comment 3 Tod Creasey CLA 2007-06-25 08:20:50 EDT
I'm not sure why this was removed as I was not the developer on import at the time. Karice was this intentional?
Comment 4 keldon alleyne CLA 2007-06-25 09:12:09 EDT
Well (although it is not my question) in all honesty I think that the decision to remove "./" was a good one as it (the import method) only works when the directory structure of the archive corresponds with the project name (including case). It appears (in my opinion) that the corresponding change in the archive export was simply missed out </theory>.

The use of the archive import/export feature appears to have been initially designed for importing and exporting the entire workspace and not for this type of usage (management of single projects) which is reflected in its functionality. Of course I am basing this all on the appearance of the features,  but it does look like the area will eventually be resolved.

(In reply to comment #3)
> I'm not sure why this was removed as I was not the developer on import at the
> time. Karice was this intentional?
> 

Comment 5 Karice McIntyre CLA 2007-06-25 12:05:01 EDT
I don't recall if this was done intentionally (I can't imagine it was).  Keldon says a validation check was changed.  Has anyone looked into the details of that?  
Comment 6 Susan McCourt CLA 2009-07-15 12:13:56 EDT
"As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009"
Comment 7 Eclipse Webmaster CLA 2019-09-06 16:18:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.