hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
212 stars 58 forks source link

Update to latest plantuml #145

Open iloveeclipse opened 2 years ago

iloveeclipse commented 2 years ago

I see that there is a 1.2021.14 version available : https://github.com/plantuml/plantuml/releases/tag/v1.2021.14

Can we update to this version?

Or, other way around: what is the relationship between Eclipse plugin and library - can we always update to latest, or is there some API that can be broken etc?

hallvard commented 2 years ago

There is no way to drop in a new library, it needs to be wrapped in an Eclipse plugin and published on the update site. This should ideally be automated, but that requires an effort I haven't found time for. I'll make sure to update the library for the next release, hopefully in a couple of weeks.

iloveeclipse commented 2 years ago

OK, thanks.

elfwine commented 2 years ago

Is there a way we can add latest plantUML library then build the plugin by ourselves and manually install the plugin into eclipse?

travkin79 commented 1 year ago

Hello @hallvard, what would be necessary to automate updating the Eclipse-plug-in to the newest plantuml.jar? Did you already have an idea how to do that?

hallvard commented 1 year ago

The (manual) process I use to update to a newer plantuml.jar is as follows:

All steps can be automated, but it will take time to make it right. You may be able to simplify it, e.g. by renaming the library jar to a standard name. Another approach is hosting the composite library site at plantuml.com and integrate this into their build process.

kmierzeje commented 1 year ago

Hi,

Maybe it would be easier to let the user provide an alternative path to plantuml.jar he downloads on his own?

There could be a note about potential compatibility issues and "do it at your own risk".

Optionally plugin might verify the version and maybe raise a warning to the user that his version of library was not tested with this version of extension, or something like that.

travkin79 commented 1 year ago

Hi, Since this issue cannot easily be solved, I started a discussion. Maybe we can somehow simplify making releases.