users@glassfish.java.net

Customizing the Loading Experience

From: <glassfish_at_javadesktop.org>
Date: Wed, 25 Aug 2010 03:15:57 PDT

Hi!

Using patch below I'm able to customize the loading experience with:
<resources>
    <jar download="progress" href="lib/progress-indicator.jar"/>
</resources>
<application-desc main-class="" progress-class="ProgressIndicator">
</application-desc>

If there isn't something terribly wrong with this it would be nice if it could be applied to trunk?

Index: appclient/client/appclient-scripts/src/main/resources/glassfish/config/client-jnlp-config.properties
===================================================================
--- appclient/client/appclient-scripts/src/main/resources/glassfish/config/client-jnlp-config.properties (revision 40096)
+++ appclient/client/appclient-scripts/src/main/resources/glassfish/config/client-jnlp-config.properties (arbetskopia)
@@ -62,7 +62,8 @@
     /jnlp/information[not(@*)]:/offline-allowed,\
     /jnlp/information[not(@*)]:/shortcut,\
     /jnlp/information[not(@*)]:/association,\
- /jnlp/information[not(@*)]:/related-content
+ /jnlp/information[not(@*)]:/related-content,\
+ /jnlp/application-desc:/@*[not(name() = 'main-class')]
 
 # Merged content:
 # all <information> elements specifying at least one attr
[Message sent by forum member 'jl80cs']

http://forums.java.net/jive/thread.jspa?messageID=480951