The "main" attribute tells the JNLP loader which jar file contains the class
described in <application-desc main-class="..."/>, and in all of our cases,
our main class is org.apache.pivot.wtk.DesktopApplicationContext, which is
in pivot-wtk.jar.  Saying that our main class was elsewhere was wrong.

-T

On Wed, Nov 4, 2009 at 10:50 AM, Sandro Martini <[email protected]>wrote:

> Hi Todd,
> I've seen this update
>
> +        <jar href="lib/pivot-wtk-<%= version %>.signed.jar" main="true" />
>
> is it required to run the ScriptApplication (used in many tutorials/demos)
> ?
> All still works (Web Start doesn't have problems with the main
> attribute in more than 1 jar), right ?
>
> Thanks,
> Sandro
>

Reply via email to