Riduidel / aadarchi

A maven archetype to generate easily projects allowing architecture description using a mix of C4, agile architecture, Asciidoc and PlantUML
https://riduidel.github.io/aadarchi/
Apache License 2.0
41 stars 12 forks source link

Use target `workspace.dsl` #197

Closed Bullfrog666 closed 1 year ago

Bullfrog666 commented 2 years ago

At the moment, we use the workspace.dsl provided in src/architecture/resources/worspace.dsl

So if the user didn't provide a workspace.dsl, the build fail. And that, even if user ask to generate a workspace.dsl (toDslEnabled = true), because the workspace is then generated in target/structurizr/workspace.dsl

We should use the one in target to avoid the problems.

And if toDslEnabled is false, copy the workspace.dsl provided in src/architecture/resources/worspace.dsl in target (if it doesn't exist, error).

Riduidel commented 1 year ago

nope, this is of no use