C4-PlantUML icon indicating copy to clipboard operation
C4-PlantUML copied to clipboard

-DRELATIVE_INCLUDE does not work

Open tfc opened this issue 1 year ago • 0 comments

Hi,

i packaged a version of plantuml with the totally awesome C4 library in nixpkgs, so you can run nix-shell -p plantuml-c4 and then within that shell just run plantuml-c4 my-c4-diagram.uml without further setup, but also offline and reproducibly.

While doing so i experienced that setting -DRELATIVE_INCLUDE does not work at all: https://github.com/NixOS/nixpkgs/pull/192483/files#diff-9de1fe7c42caf79351ddb7ada270e1d0a82c30535f6836e507e1ea1f3c134b94R3

What works is:

  • set -Dplantuml.include.path="..." before the -jar param
  • still set -DRELATIVE_INCLUDE="foo" so that the included c4 files don't try to download their deps from the internet

Does this indicate that there is something wrong with my setup, or is the README simply outdated?

tfc avatar Sep 23 '22 08:09 tfc