in http://forum.plantuml.net/4080/please-provide-commands-import-png-and-svg-images-from-files?show=4080#q4080 a possibility to include sprites from png and svg via jar-file. Is there any possible way to include iumls and pumls that way.
I have a huge number of iuml/puml that include each other to represent Services and subsequent services. I use these with component and sequence diagrams. Now, I would like to add this definitions to the plantuml jar via -cp or another argument. So that, instead asking everyone who wants to use my macros to check out my git repo and adding an "!include ../My_Service/my_method.iuml" to include these this service these are provided with the argument above. Then, I'd like to simplify my includes like this: !include my_service.jar:My_Service/my_method.iuml or, even better, like the stdlib way !include <My_Service/my_method>
To add some detail:
myMethod1.iuml look like this
component "A" as a
CALLER --> a: <<uses>>
I'd like to have this jar or zip included via classpath or -library my.jar,my2.jar
To be able to do this:
component "Me" as me
could be also, e.g.
BTW. I found this: http://forum.plantuml.net/5649/provide-a-way-to-include-multiple-files-via-command-line which looks pretty similar and provides a possibility to include a number of files via -I. However, I'd like to include files on runtime and not on startup. This would lead to a number of components/participants created that are not intended to be there. Therefore, it is more like if a specific !include is used plantuml tries to get a resource from the provided "library". If it is not there or the file is not found in the library we get the same error as if I would include a non existing file.
Does this feature already exist or does it sound interesting to implement?