!include <dir> causes a DSL parser exception #136
Replies: 2 comments 2 replies
-
Feel free to include a complete example to reproduce this (i.e. all of the DSL files, perhaps in a ZIP file), otherwise there's not much help I can offer I'm afraid. It would also be good to know which version of the CLI you're using. |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. However, I cannot get So, this works:
But this does not:
I have tried different shells, different versions of the include statemnt, e g Any tips? StacktraceThe stacktrace looks to be the same as @okamiraner got above, line numbers are a tiny bit different likely due updated version...
|
Beta Was this translation helpful? Give feedback.
-
Question
Hello
Documentation says that I can use
!include
for including all .dsl files inside the directory. In fact, when trying to export a workspace, I get the following exception randomly:$ structurizr-cli export -workspace workspace.dsl -format mermaid
Besides, including a single file works 100% of the time, but in breaks he whole point of a modular workspace adding excessive references that duplicate the folder content.
Its is hard to identify the problem, since the behaviour changes in different runs with the same files.
My directory tree:
and the root file:
Beta Was this translation helpful? Give feedback.
All reactions