The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,531 other followers

Archive for the ‘PlantUML’ Category

Atom, plantuml-preview, homebrew and messages about plantuml being too old

Posted by jpluimers on 2019/03/07

If you get a message like this in Atom when using plantuml-preview:

then you need to change the PlantUML Jar setting from your old version (in my case /usr/local/Cellar/plantuml/1.2017.13/libexec/plantuml.jar:

Then you have to save your .plantuml file so the preview re-renders.

This finds the homebrew installed PlantUML versions:

$ find /usr/local/Cellar/plantuml | grep plantuml.jar
/usr/local/Cellar/plantuml/1.2017.13/libexec/plantuml.jar
/usr/local/Cellar/plantuml/1.2017.14/libexec/plantuml.jar

–jeroen

Posted in Development, PlantUML, Software Development, UML | Leave a Comment »

git – How to integrate UML diagrams into GitLab or GitHub – Stack Overflow

Posted by jpluimers on 2018/12/05

Interesting solution: [WayBackgit – How to integrate UML diagrams into GitLab or GitHub – Stack Overflow

Posted in Development, PlantUML, Software Development, UML | Leave a Comment »

Why I like PlantUML

Posted by jpluimers on 2018/06/13

Ever since I started using computers, I’ve liked text based solutions.

It’s one of the reasons I like PlantUML, but there are more. This is from a GitLab.com request I did a while ago: [WayBackPlease enable PlantUML rendering on gitlab.com both for standalone plantuml files and inside markdown plantuml code blocks (#2041) · Issues · GitLab.com / GitLab.com Support Tracker · GitLab

one of my UML gripes from the past (I’ve been a software developer for about 30 years now) was that it wasn’t text based.

After bumping into PlantUML a long time ago in 2014 I’ve become a happy user of it for a few reasons:

  • the language is text based (with many benefits I don’t need to explain)
  • the tool is cross platform
  • the tool is still actively developed all the way back from 2009
  • after rendering, the arranging of elements is much better than I expected from an automated tool

Of course every now and then there is a glitch in complex diagrams, but I’ve found that professional tools:

  1. don’t do much better in fully-automated arranging
  2. become very cumbersome to use when you to manual arrangement

My first use initially was online, then in 2016 installed it on my Mac even submitting homebrew updates for it every now and then.

Oh: I love their 404 humour at http://www.plantuml.com/plantuml/beta

Renderings can be in all sorts of graphics and text formats, for instance SVG, PNG, ASCII and Unicode.

Example:

plantuml -tsvg PSO.network-diagram.PlantUML.txt

–jeroen

via:

related:

Read the rest of this entry »

Posted in Development, Fun, PlantUML, Software Development, UML | Leave a Comment »

fixing a Mac home `brew update` that has permission errors (after that I could install plantuml)

Posted by jpluimers on 2017/01/26

I had this occurring on my system:

RetinaMBPro1TB:~ jeroenp$ brew update
error: unable to unlink old 'Library/ENV/pkgconfig/10.11/libcurl.pc' (Permission denied)
error: unable to unlink old 'Library/ENV/pkgconfig/10.11/libxml-2.0.pc' (Permission denied)
error: unable to unlink old 'Library/ENV/pkgconfig/10.11/sqlite3.pc' (Permission denied)
To restore the stashed changes to /usr/local run:
  'cd /usr/local && git stash pop'
Already up-to-date.

This is how I solved it:

RetinaMBPro1TB:~ jeroenp$ ls -al /usr/local | grep -w Library
drwxr-xr-x+ 11 jeroenp  admin   374 Mar  9 19:33 Library
RetinaMBPro1TB:~ jeroenp$ sudo chown -R $USER /usr/local/Library/
Password:
RetinaMBPro1TB:~ jeroenp$ brew update
To restore the stashed changes to /usr/local run:
  'cd /usr/local && git stash pop'
Updated Homebrew from d32996d to 638d755.
==> New Formulae
...
==> Updated Formulae
...
==> Renamed Formulae
...
==> Deleted Formulae
...
RetinaMBPro1TB:~ jeroenp$ 

The above solution is based on major python problems · Issue #48301 · Homebrew/homebrew

After that, I could install plantuml (which requires java, just so you know) so now I can create SVGs from it locally:

plantuml -tsvg PSO.network-diagram.PlantUML.txt

Note I had to edit the formula so it installs plantuml-8037 or higher (the git version back then installed plantuml-8031) as it fixed a namespace bug. Since plantuml releases often, be prepared to do some version fiddling.

–jeroen

Posted in *nix, *nix-tools, Apple, Development, Home brew / homebrew, Java, Java Platform, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, PlantUML, Power User, Software Development, UML | Leave a Comment »

Yay. My first homebrew contribution got merged. https://github.com/Homebrew/h…

Posted by jpluimers on 2016/03/10

Yay. My first homebrew contribution got merged. [WayBackhttps://github.com/Homebrew/homebrew/pull/49928 – Jeroen Wiert Pluimers – Google+

Source: [WayBackYay. My first homebrew contribution got merged.

–jeroen

(somehow this was still stuck in the drafts of my plpost queue)

Posted in Apple, Development, Home brew / homebrew, PlantUML, Power User, Software Development, UML | Leave a Comment »

 
%d bloggers like this: