-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
No metadata in generated images #53
Comments
Which JDK/JRE are you using ?
Thanks! |
Seems to be Oracle HotSpot (running on macOS Sierra 10.12.6 (16G29), fwiw): $ catalina run
Using CATALINA_BASE: /usr/local/Cellar/tomcat/8.5.20/libexec
Using CATALINA_HOME: /usr/local/Cellar/tomcat/8.5.20/libexec
Using CATALINA_TMPDIR: /usr/local/Cellar/tomcat/8.5.20/libexec/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
Using CLASSPATH: /usr/local/Cellar/tomcat/8.5.20/libexec/bin/bootstrap.jar:/usr/local/Cellar/tomcat/8.5.20/libexec/bin/tomcat-juli.jar
⋮
07-Sep-2017 06:59:34.745 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 1277 ms
[…repeat curl && plantuml from above…]
^C
⋮
$ /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) |
The problem seems to be solved. docker run -d -p 8080:8080 -e BASE_URL=plantuml plantuml/plantuml-server
curl -s http://localhost:8080/plantuml/png/SyfFKj2rKt3CoKnELR1Io4ZDoSclg000 -o test.png
curl -s -F "diagram=@test.png" http://localhost:8080/plantuml/metadata The last command does the same as Output:
|
The latest server (downloaded today) outputs images without the source metadata.
$ curl -s http://localhost:8080/plantuml/png/SyfFKj2rKt3CoKnELR1Io4ZDoSclg000 > test.png $ plantuml -metadata test.png ------------------------ test.png null ------------------------
The plantuml.com instance and older versions (not sure how old) work fine.
The text was updated successfully, but these errors were encountered: