Jansen Werner wrote:
I'm getting a bit further in my investigations, but I can't find an
example for a src/jnlp/template.vm. Could somebody provide me one?

Thanks in advance,

Werner

Hi,

The $$codebase placeholder here is substituted by JnlpDownloadServlet, replace it with a real location if you are not using the servlet.

Please check the JNLP documentation for more info on the file format.

--------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<jnlp xmlns="http://java.sun.com/jnlp";
  spec="1.5+"
  codebase="$$codebase"
  href="${outputFile}">

  <information>
    <title>My Title</title>
    <vendor>My Vendor</vendor>
    <homepage href="http://www.foo.com/"; />
    <shortcut online="true">
      <desktop />
      <menu submenu="My Title" />
    </shortcut>
  </information>

  <security>
    <all-permissions/>
  </security>

  <resources>
    <j2se version="1.5" initial-heap-size="64m" max-heap-size="256m" />

    <!-- begin auto dependencies -->
    ${dependencies}
    <!-- end auto dependencies -->
  </resources>

  <application-desc main-class="${mainClass}" />

</jnlp>
--------------------------------------

--
Andrius Šabanas
Pivot Capital Management UAB
Email: [EMAIL PROTECTED]
Phone: +370 5 2122563
http://www.pivotcapital.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to