Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » M2Doc » M2Doc template migration(How to migrate old template)
M2Doc template migration [message #1818881] Tue, 31 December 2019 14:52 Go to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 21
Registered: December 2019
Junior Member
Hello,

I made several template for the previous version of M2Doc for Capella 1.3.1.

As I just migrated toward Capella 1.4, I had some question regarding the compatibility and migration of not so old M2Doc templates.

When I edit the configuration, it indicates a version mismatch:
M2Doc version mismatch: template version is 2.0.3 and current M2Doc version is 3.0.0


How I can modify my template to get rid of this alert ? Is there some kind of meta data or is that directly related to the balises I added inside the document ?

Thanks in advance.

Mathias
Re: M2Doc template migration [message #1818883 is a reply to message #1818881] Tue, 31 December 2019 15:34 Go to previous messageGo to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 21
Registered: December 2019
Junior Member
I edited the template properties to replace the old 1.3.x package URI by the new ones:

Old Package URIs
index.php/fa/37062/0/

New Package URIs
index.php/fa/37063/0/


Then I Click on "Current version" which I suppose indicate I want to use the new version for my template.

index.php/fa/37064/0/

When finally proceeding, I have the following error:

An internal error occurred during: "Saving template".
Fail to save: an error occurs while saving the package : The part /docProps/core.xml failed to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller@420c0d07
  • Attachment: Old.PNG
    (Size: 37.43KB, Downloaded 351 times)
  • Attachment: New.PNG
    (Size: 41.63KB, Downloaded 345 times)
  • Attachment: Final.PNG
    (Size: 15.05KB, Downloaded 355 times)
Re: M2Doc template migration [message #1818963 is a reply to message #1818883] Fri, 03 January 2020 15:55 Go to previous messageGo to next message
Yvan Lussaud is currently offline Yvan LussaudFriend
Messages: 63
Registered: July 2009
Member
This error can happen under Windows when the template is already opened with an other editor. Otherwise you are doing what is needed to move from Capella 1.3.x and M2Doc 2.0.3 to Capella 1.4.0 and M2Doc 3.0.0.
Re: M2Doc template migration [message #1818964 is a reply to message #1818963] Fri, 03 January 2020 16:03 Go to previous message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 21
Registered: December 2019
Junior Member
You were right. I retried just now and it worked.

I was used to modify the template using word, while generating the documentation in capella.
Previous Topic:M2Doc extensions for Capella 1.4.0 is out
Next Topic:List of Referencing Elements
Goto Forum:
  


Current Time: Tue Apr 23 08:24:06 GMT 2024

Powered by FUDForum. Page generated in 0.03355 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top