I have sequnce diagrams that use the !include directive extensively for maintaining consistency (skins, constants, hyperlinks)
In order to get better rendering speed, i run my own plantuml server using jetty on my mac and i pass the
argument in JAVA_OPTIONS in my .jettyrc.
This works very well and i can switch between local rendering or server rendering without needing to change the content of my plantuml file.This broke after i updated to 2019.11 War file. So for now i have gone back to the 2019.10 version
So an example of use
(where constants.pu is a file in the folder specified by plantuml.includepath.)
This basically throws an error like below in 2019.11
Error found in diagram 0.3.1.1_-_Scheduling_-_Expedited_Scheduling
cannot include constants.pu (@ Diagram Line 1, File Line 2)
Note that specifying a full url works in both 2019.10 and 2019.11 wars
But it was nicer to just specify the file directly and having a global constant deal with its actual location as the location could be different depending on where it was deployed.
Over and above - is there a way to specify include paths as URLs? i.e. as below
That lends itself nicely to server deployments where i can point to the raw file in say github without needing to explicitly put the full url in every pu file in the project.