[ 
https://jira.codehaus.org/browse/MWEBSTART-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tony Chemit closed MWEBSTART-174.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-beta-3

> jnlp.packEnabled option is not enabled when generating pack200 archives
> -----------------------------------------------------------------------
>
>                 Key: MWEBSTART-174
>                 URL: https://jira.codehaus.org/browse/MWEBSTART-174
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>            Reporter: The Alchemist
>            Assignee: Tony Chemit
>             Fix For: 1.0-beta-3
>
>         Attachments: MWEBSTART-174-fix.txt
>
>
> As originally described in MWEBSTART-130, the generated JNLP references the 
> {{.jar}} files (which is OK) but without setting the {{jnlp.packEnabled}} 
> property as described in 
> 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.
> NOTE: I'll submit a patch soon that simply adds the described property to the 
> generated JNLP.  I don't see any bad side effects from them, but I might be 
> missing something (comments, Tony?).

--
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