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

Grouping functions do not work #386

Open
hubidubi opened this issue Apr 24, 2023 · 7 comments
Open

Grouping functions do not work #386

hubidubi opened this issue Apr 24, 2023 · 7 comments

Comments

@hubidubi
Copy link

The provided sample code is not rendered in intellij, but rendered fine from command line.
intellij version: 2023.1
planuml plugin version: 5.23.0

`@startuml sg_test

!define AWSPuml https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/v15.0/dist
!include AWSPuml/AWSCommon.puml
!include AWSPuml/Containers/Fargate.puml
!include AWSPuml/Groups/SecurityGroup.puml

SecurityGroupGroup(sg,"SG test") {
Fargate(test_app, "TestApp","")
}

@enduml`

sg_test_error
vpc_test

@krasa
Copy link
Collaborator

krasa commented Apr 24, 2023

Are you on mac? Related: #261

Works fine for me on Windows 10

image

@hubidubi
Copy link
Author

yes, I'm on mac

@krasa
Copy link
Collaborator

krasa commented Apr 24, 2023

could you try it from the command line with the JetBrains JRE?
Like this #261 (comment)

@hubidubi
Copy link
Author

This command exits silently without any output and it does not generate the output png.

/Users/hubidubi/Library/Application\ Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ\ IDEA.app/Contents/jbr/Contents/Home/bin/java -jar ~/Downloads/plantuml-1.2023.6.jar vpc_test.puml

@hubidubi
Copy link
Author

Also, adding the following line solves the issue:

hide stereotype

@krasa
Copy link
Collaborator

krasa commented Apr 24, 2023

This command exits silently without any output and it does not generate the output png.

Strange. Running with no arguments should show you a GUI, maybe then you would see the error....

/Users/hubidubi/Library/Application\ Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ\ IDEA.app/Contents/jbr/Contents/Home/bin/java -jar ~/Downloads/plantuml-1.2023.6.jar

image

@chkpnt
Copy link

chkpnt commented Oct 10, 2023

Also, adding the following line solves the issue:

hide stereotype

I can confirm this when trying to render a diagram which uses the C4 templates.

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

No branches or pull requests

3 participants