Archiving model/project versions [message #1855145] |
Thu, 29 September 2022 10:57  |
Eclipse User |
|
|
|
what files are needed by Eclipse/Papyrus to complete archive a project?
I have been saving the 'properties', 'di', 'notation', 'ocl', and 'uml' files. Yet when I encountered an issue with a corruption of the model within Eclipse/Papyrus - I found out that these files are not the entire set that is needed. With only these files Eclipse/Papyrus still produces error messages about a 'project' file. I suspect this project data is held somewhere other than the Projects' folder location.
I haven't been able to find this described in some documentation, though it would help me fix this issue for the future
|
|
|
|
|
|
|
|
Re: Archiving model/project versions [message #1855205 is a reply to message #1855201] |
Fri, 30 September 2022 17:15  |
Eclipse User |
|
|
|
Ok, thank you for the info.
My round-trip solution now is :
Export: select the project in Project Explorer. Select File | Export. In the Export dialog select General | FileSystem. In the File System dialog, make sure that the pesky '.project' and '.setttings' files are selected. (I also selected "Overwrite existing...without warning" and "Create directory .. files). This enables me to have the individual files, and revision control.
Import: select File | Import, "Existing Project.. Workspace". Then I answer "Yes to all" on the subsequent "Overwrite existing..." and voila it works.
ps, Export seems to have a bug with the this selection, as I have to make sure the directory is empty, despite the "Overwrite" selection. As well, Delete project even if I check "Permanently..." leave the project undeleted on the file-system, which issue why the subsequent import needs the "yes to all"... I'll file bugs.
:) I look and see if this magic is in the user-guide
|
|
|
Powered by
FUDForum. Page generated in 0.11085 seconds