Moose icon indicating copy to clipboard operation
Moose copied to clipboard

PlantUML Gizmo for Moose is broken in Pharo 9

Open fuhrmanator opened this issue 3 years ago • 3 comments

The Moose > Moose Projects > Load PlantUML Gizmo menu doesn't fail in Pharo 9, but it doesn't properly load the Spec gui for the Moose part of the project either. So it's broken in Moose 9.

See https://github.com/fuhrmanator/PlantUMLPharoGizmo/issues/17#issuecomment-955024063

As above, the solution for Moose 9 (P9) is to do a PlantUMLForMoose (or something) that has the nice GUI that @570gina developed when Spec2 was in its early stages. Perhaps the existing code can be made to work with the version of spec in p9, but it is beyond my skills.

The tutorial at https://fuhrmanator.github.io/2019/07/29/AnalyzingJavaWithMoose.html describes well the behavior of the GUI (search for PUGizmoForMoose open. ).

fuhrmanator avatar Jan 15 '22 18:01 fuhrmanator

I created a Moose-only project that should be loaded in Moose 9. I called it PlantUMLMooseGizmo, since the PlantUMLPharoGizmo will be something more generic.

PlantUMLMooseGizmo uses PlantUMLBridge (which has some better Pharo design).

Here's how I'm able to load it from a baseline:

Metacello new
	githubUser: 'fuhrmanator' project: 'PlantUMLMooseGizmo' commitish: 'main' path: 'src';
	baseline: 'PUMooseGizmo';
	load

I think you can try it, and if it works you can replace the current Moose > Additional modules > Load PlantUML Gizmo (perhaps the latter could be Load PlantUML Moose Gizmo as it's not the same tool anymore.

Thanks to @NicolasAnquetil for helping out with the spec changes. I took his advice to (assign) @ClotildeToullec so apologies if it's not the right person.

fuhrmanator avatar Jan 24 '22 04:01 fuhrmanator

There are some tests in the PUMooseGizmo-Tests to test it out (otherwise you can load a Java or TypeScript model -- if you load the MM -- into Moose and try it that way).

fuhrmanator avatar Jan 24 '22 04:01 fuhrmanator

@fuhrmanator does this issue still need work?

anneetien avatar Aug 25 '22 09:08 anneetien