From 02bef684bc2475c7ba125c08b92a86b401269ee9 Mon Sep 17 00:00:00 2001 From: Hakan Dilek Date: Fri, 8 Mar 2019 11:56:40 +0000 Subject: Use system proxy PlantUML does not consider any of the system proxy environment variables like HTTP_PROXY or HTTPS_PROXY. Java has a system property java.net.useSystemProxies to use system proxy varables in all http calls: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html LP: #1819119 --- debian/plantuml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/plantuml.sh b/debian/plantuml.sh index f7788dc..81e49be 100644 --- a/debian/plantuml.sh +++ b/debian/plantuml.sh @@ -26,4 +26,4 @@ else exit 1 fi -$JAVA -jar /usr/share/plantuml/plantuml.jar ${@} +$JAVA -jar -Djava.net.useSystemProxies=true /usr/share/plantuml/plantuml.jar ${@} -- cgit v1.2.3