Archi Forum

Archi => General Archi Discussion => Topic started by: Phil Beauvoir on August 05, 2019, 20:43:17 PM

Title: Archi 4.5 released
Post by: Phil Beauvoir on August 05, 2019, 20:43:17 PM
Hi everybody,

just to let you know that we released Archi 4.5 today.

Download is here:

https://www.archimatetool.com/download/

And here's a blog post with some more information:

https://www.archimatetool.com/blog/2019/08/05/archi-4-5/

Regards,

Phil
Title: Re: Archi 4.5 released
Post by: Phil Beauvoir on August 07, 2019, 16:33:05 PM
I just pushed a minor update with Archi 4.5.1.

https://www.archimatetool.com/download/

This contains only 1 bug fix and will only affect users who don't use the default file locations in the Archi.ini file

Phil
Title: Re: Archi 4.5 released
Post by: Hervé on August 12, 2019, 12:58:44 PM
Thanks very much (again) for your hard work.

For those that are using my plugins, please note that the database plugin does not initialize with Archi 4.5 due of a complete change of the internal IDs generation methods. A new version will be released in the coming days.
Title: Re: Archi 4.5 released
Post by: Phil Beauvoir on August 12, 2019, 13:21:02 PM
Thanks Hervé,

sorry for not letting you know about the change in ID generation as I didn't check if you were using this in your plug-ins.

For information - before Archi 4.5, all IDs for objects were generated when the object was added to the model and stored in a table so that no duplicate ID was generated. This is no longer the case for two reasons - (1) It slows down loading of models (2) We now use longer UUIDs and duplicates are not really possible (well, there is tiny chance equivalent to me winning a multi-billion dollar lottery). All new objects created come with a UUID generated in the constructor and all copied objects (object.getCopy()) have a different UUID.
Title: Re: Archi 4.5 released
Post by: Hervé on August 12, 2019, 13:26:32 PM
It's fine by me  :)

A user already tried my plugin with Archi 4.5 so I was just telling everybody that it doesn't work. In addition, I need to adapt my plugin to the new installation procedure.

So as you see, I keep being busy  ;D
Title: Re: Archi 4.5 released
Post by: Manj75 on August 30, 2019, 08:10:06 AM
Hi Phil,

Is it possible to install v4.5 without uninstalling v4.4 so they co-exist enabling me to evaluate prior to transitioning and then finally uninstalling v4.4?

Aside: did the cut and paste of concepts in the model tree make it in this release - as you mention on my raised feature request that it will be post v4.5 but just wanted to confirm.

Thanks,

Manjit
Title: Re: Archi 4.5 released
Post by: Phil Beauvoir on August 30, 2019, 08:13:33 AM
You can use the portable zip version of 4.5.1 as well as the older 4.4 version. Cut and Paste will be in the next version,

Phil
Title: Re: Archi 4.5 released
Post by: Manj75 on September 02, 2019, 12:35:22 PM
Posted the following on the v4.5 beta thread and should've been on this one:

Installed Archi v4.5.1 and Collaboration Plugin v0.5.2 successfully and can immediately see performance improvements on our large model.

Thanks for all you hard work Phil

Just to mention I had installed the previous Collaboration Plugin v0.5.1 with the latest Archi and it showed an issue in opening the model after importing from remote whereby it would not open it.  It is not compatible with v4.5.1 and I then discovered that there is a later version of the plug-in v0.5.2 which does work.  May be this should be detailed in the release notes of Archi v4.5.1 and noted in the plugin v0.5.1 that it does not work with v4.5.1.
Title: Re: Archi 4.5 released
Post by: Phil Beauvoir on September 02, 2019, 16:40:42 PM
Collaboration Plugin 0.5.2 has no big changes over 0.5.1 and, as far as my tests show, works OK with Archi 4.5.1. Perhaps something else different?
Title: Re: Archi 4.5 released
Post by: Manj75 on September 03, 2019, 07:32:31 AM
That is odd as when I installed 0.5.1 in Archi v4.5.1 I managed to import the repo and could see the model in the Collaboration Workspace tab, but there was no model tree for it in the Models tab.  Even right-clicking on model in Collab' Workspace and selecting 'Open Model' did nothing.  I tried reinstalling 0.5.1 but got same results.  I then discovered 0.5.2 and installed that instead and it work just fine.  If you can't reproduce then may be something local to my setup, but I'll ignore as with 0.5.2 it's now workable. thanks.
Title: Re: Archi 4.5 released
Post by: Phil Beauvoir on September 03, 2019, 08:44:15 AM
I tested Archi 4.5.1 with 0.5.1 and I can reproduce the problem:


java.lang.NoSuchMethodError: com.archimatetool.model.IArchimateElement.getReferencingDiagramObjects()Lorg/eclipse/emf/common/util/EList;
at org.archicontribs.modelrepository.grafico.GraficoModelImporter.resolveProxies(GraficoModelImporter.java:198)
at org.archicontribs.modelrepository.grafico.GraficoModelImporter.importAsModel(GraficoModelImporter.java:141)
at org.archicontribs.modelrepository.grafico.GraficoModelLoader.loadModel(GraficoModelLoader.java:64)
at org.archicontribs.modelrepository.actions.CloneModelAction.run(CloneModelAction.java:115)


This doesn't happen when running Archi from a development environment only when using the compiled binary jar of 0.5.1. My theory is that the compiled 0.5.1 jar has a hard reference to the EList type, even though it is indirectly referenced. This was changed in Archi 4.5.x to use the more generic List type. Thus the failure. It's one of those cases where the API is the same, but the binary type is not compatible.

It's too late to change Archi now, so I'll update the requirements of the collaboration plug-in.

Thanks for reporting this, unfortunately it's one of those unforeseen things that wasn't found during the Archi 4.5 beta period.
Title: Re: Archi 4.5 released
Post by: Manj75 on September 03, 2019, 09:30:28 AM
Glad you could reproduce it - happy to assist in driving up the quality of a good product.