I have set of plantuml models that describe architecture of a larger system. I extract sub-diagrams of these models from Makefiles using the commandline syntax in following way:
plantuml -DSUBMODULE model.pu
And in the model.pu:
With 1.2019.07 this does not work anymore, neither does the newest beta help
With verbose I can see:
(0.336 - 31 Mo) 24 Mo - Creating AParentFolderRegular /...
(0.572 - 31 Mo) 27 Mo - [MemGlobal] Setting $class1_detail
(0.574 - 31 Mo) 27 Mo - [MemGlobal] Setting $class_detail
[Log] SUBMODULE _not_ defined
The small example is:
!log SUBMODULE defined
!log SUBMODULE _not_ defined
Either the -D from commandline should work, or it should be explicitly removed as it seems to be in correlation with the change in approach to preprocessing.
In the latter case, kind advise is needed - how can commandline generation of specific views from a larger model be achieved without capability to set variable values at the time of invoking plantuml?