Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated json files cluttering workspace #17

Closed
blundell opened this issue Dec 30, 2015 · 2 comments
Closed

Generated json files cluttering workspace #17

blundell opened this issue Dec 30, 2015 · 2 comments

Comments

@blundell
Copy link

Each time I create a diagram it is generating this json file, which is fine - however it is generating it in the base directory of my project. It should really be generated in the base directory of the module.

i.e. not in /ore but inside /diagrams

Right now I have to append the projects .gitignore to stop these being committed but this means the project then knows about structurizer, I would much rather have edit the specific .gitignore inside of /diagrams and keep everything to do with structurizer inside here.

output

@simonbrowndotje
Copy link
Contributor

By default, those JSON files are stored in the current working directory. If changing the current working directory is not an option, you can change this behaviour by calling the setWorkspaceArchiveLocation() method on your StructurizrClient instance: https://github.com/structurizr/java/blob/master/structurizr-client/src/com/structurizr/api/StructurizrClient.java#L117

Passing a null value will stop the JSON files from being created.

Does that help?

@blundell
Copy link
Author

👍 great I'll use setWorkspaceArchiveLocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants