How does the Getdown work with proxy

130 views
Skip to first unread message

Anand Sivaji

unread,
Jun 20, 2019, 10:13:31 AM6/20/19
to OOO Libs
Hi,

I have been playing with the getdown recently. But I couldn't find a way to configure proxy.

Let me explain it better. I have a app which will be auto-updated with the getdown. I'm installing the app in two different machines connected to different networks. One network allows the getdown to hit the update url, whereas the other has to go through the proxy url.

How can we set different values in "appbase" value in the getdown.txt based on the proxy. I might be wrong, but I hope we can't give multiple "appbase" value  in the getdown.txt as part of the build process?


Mark Evans

unread,
Jun 20, 2019, 11:55:41 AM6/20/19
to OOO Libs
When I invoke getdown, I use the -Dappbase_override system property to set my URL base.  I do the following:
- Set an BASE_URL environment property in Windows
- Download a BAT file from my server.  (Which came first, the base URL or the BAT file?  That's a little problem here.)
- BAT file does: if "%BASE_URL%" == "" ( set BASE_URL=http://default-url:port )
- BAT file does: java -dappbase_override=%BASE_URL%
Reply all
Reply to author
Forward
0 new messages