-
-
Notifications
You must be signed in to change notification settings - Fork 23
componentFinder.findComponents(); #61
Comments
Hi, do you already had the time to look at my question ? |
It depends what you want to output to look like, but scanning a compiled JAR is available via the |
Hi Simon, Thank you for your response. Do you have some code example on how to do it, since I do not succeed in making it work. Thank you |
Thank you but I don't see how you can specify the external jar as a parameter. We would like to build a project, create a jar and then generate the schema from the annotations in the jar from a gitlab step. |
The JAR file isn't specified as a parameter ... since reflection is done using the bytecode, you should include your production code on the classpath of your Structurizr program; for example -> https://github.com/structurizr/java-extensions/blob/master/structurizr-examples/build.gradle#L16 |
When I try to generate the components having the source code in the same project, it seems to work and he generates a plantuml file with all structurizr tags found.
Below is the code i use to generate the plantuml file.
|
I would run in debug and/or look at what components are being added to |
Hi,
I have been working with the SourceCodeComponentFinderStrategy. Is it also possible to scan a compiled jar and display the annotated tags (@controller, ...) in a diagram.
Thank you,
Kjell
The text was updated successfully, but these errors were encountered: