users@glassfish.java.net

Re: Application Client, JWS 6 and splash screen

From: <glassfish_at_javadesktop.org>
Date: Fri, 15 Feb 2008 14:15:02 PST

>Perhaps you have encountered issue 3553

Possible true.

>Also, which Java version are you using on the client?

javaws Java(TM) Web Start 1.6.0
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Ubuntu 6.10 Linux.

Tomorrow I will test it on Windows and new Ubuntu with last JDK.

For now I added build.xml (Netbeans EAR project ):

        <target name="pre-dist">
            <mkdir dir="${build.dir}/images"/>
            <copy file="src/icon.gif" todir="${build.dir}/images"/>
            <copy file="src/splash.gif" todir="${build.dir}/images"/>
        </target>
   
And copied image files to "src" directory.

After "Clean and Build" is content of EAR in DIST directory:
images/icon.gif <-- new
images/splash.gif <-- new
ear-app-client.jar
ear-ejb.jar
...

File "sun-application-client.xml" is only in META-INF directory of "app-client" JAR, isn't it?

<sun-application-client>
  <java-web-start-access>
  <vendor>images/icon.gif::images/splash.gif::MyCorp, Inc.</vendor>
  </java-web-start-access>
</sun-application-client>

I am using this command:

javaws http://localhost:8080/PC2008/PC2008-app-client

But with image files in EAR still no change, no splash.

Thanks.
Leos
[Message sent by forum member 'leosurban' (leosurban)]

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