Looks like an omission in our documentation on the reference guide to our
xml syntax. I raised https://github.com/eclipse/jetty.project/issues/3914.

thanks
Jan

On Tue, 30 Jul 2019 at 14:31, Olivier Lamy <[email protected]> wrote:

> Hi
> have you tried something such <Env name="HOME"/>.?
>
>
> On Tue, Jul 30, 2019 at 9:15 AM David Karlsen <[email protected]>
> wrote:
>
>> Is it possible to refer environment variables in jetty descriptors?
>> I am trying to avoid hardcoding proxy values in
>> jetty-websocket-httpclient.xml:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" 
>> "http://www.eclipse.org/jetty/configure.dtd";>
>>
>> <Configure class="org.eclipse.jetty.client.HttpClient">
>>   <Arg>
>>     <New class="org.eclipse.jetty.util.ssl.SslContextFactory" />
>>   </Arg>
>>   <Get name="proxyConfiguration">
>>     <Get name="proxies">
>>       <Call name="add">
>>         <Arg>
>>           <New class="org.eclipse.jetty.client.HttpProxy">
>>             <Arg type="String">HERE</Arg>
>>             <Arg type="Integer">HERE</Arg>
>>           </New>
>>         </Arg>
>>       </Call>
>>     </Get>
>>   </Get>
>> </Configure>
>>
>>
>> --
>> --
>> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/jetty-users
>
>
>
> --
> Olivier
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users



-- 
Jan Bartel <[email protected]>
www.webtide.com
*Expert assistance from the creators of Jetty and CometD*
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to