Add Java Web Start for Java HVM console
[invirt/packages/invirt-web.git] / code / templates / vnc_jnlp.mako
1 <jnlp spec="1.0+" codebase="https://xvm.mit.edu:446/static/">
2   <information>
3     <title>XVM Java Console</title>
4     <vendor>Invirt Project</vendor>
5     <description>Java Web Start Application</description>
6   </information>
7
8   <security>
9    <all-permissions/>
10   </security>
11
12   <resources>
13     <property name="jnlp.packEnabled" value="true"/>
14     <j2se version="1.6.0+" initial-heap-size="32M" max-heap-size="128M"/>
15     <jar href="VncViewer.jar" download="eager" main="true"/>
16   </resources>
17   <applet-desc main-class="VncViewer" name="VncViewer" width="1000" height="1000">
18     <param name="PORT" value="${port}" />
19     <param name="HOST" value="${hostname}" />
20     <param name="VMNAME" value="${machine.name}" />
21     <param name="AUTHTOKEN" value="${authtoken}" />
22     <param name="SocketFactory" value="VNCProxyConnectSocketFactory" />
23   </applet-desc>
24 </jnlp>