Skip to main content



      Home
Home » Polarsys » M2Doc » M2Doc template migration(How to migrate old template)
M2Doc template migration [message #1818881] Tue, 31 December 2019 09:52 Go to next message
Eclipse UserFriend
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 10:34 Go to previous messageGo to next message
Eclipse UserFriend
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 470 times)
  • Attachment: New.PNG
    (Size: 41.63KB, Downloaded 479 times)
  • Attachment: Final.PNG
    (Size: 15.05KB, Downloaded 488 times)
Re: M2Doc template migration [message #1818963 is a reply to message #1818883] Fri, 03 January 2020 10:55 Go to previous messageGo to next message
Eclipse UserFriend
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 11:03 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 21:33:56 EDT 2025

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

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

Back to the top