[ 
https://jira.codehaus.org/browse/MWEBSTART-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281852#comment-281852
 ] 

KP commented on MWEBSTART-130:
------------------------------

Confirmed that 1.0-beta-2 generates {{.jar.pack.gz}} files.  Thank you Tony!

However, the JNLP generated still references the {{.jar}} files but without 
setting the {{jnlp.packEnabled}} property 
(http://download.oracle.com/javase/6/docs/technotes/guides/jweb/tools/pack200.html):

{panel}
h4. Pack200
When the Java system property jnlp.packEnabled is set to "true" in a jnlp file 
or an applet tag, the Java Plug-in or Java Web Start software will download the 
.pack.gz version of JARs. If the .pack.gz version is not available, the 
unzipped JAR will be searched for.

Note: the compressed version of foo.jar should be named foo.jar.pack.gz.

Usage in a JNLP File
Use the property tag to specify "jnlp.packEnabled" to "true" within the 
resources tags, i.e.:

{code}
<jnlp ...>
   ...
   <resources>
      <property name="jnlp.packEnabled" value="true"/>
         <java version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="foo.jar" main="true" download="eager"/>        
   </resources>
   ...
</jnlp>
{code}
{panel}

I propose that {{jnlp.packEnabled}} be automatically inserted into the 
{{<resources>}} section if {{pack200}} is enabled.

@Tony: Should I file this as a separate issue?  Do you take patches?

> webstart dont generate *.jar.pack.gz files
> ------------------------------------------
>
>                 Key: MWEBSTART-130
>                 URL: https://jira.codehaus.org/browse/MWEBSTART-130
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>          Components: pack
>    Affects Versions: 1.0-alpha-1
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.24-21-generic" arch: "i386" Family: "unix"
> Ubuntu 8.04
>            Reporter: Andrey Bruggemann
>
> The plugin don't generate  *.jar.pack.gz files after pack, unpack, sign and 
> verify the jars. That is needed to complete the workaround described in 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5078608. The plugin must 
> pack, unpack, sign, verify and pack the jars.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to