[
https://jira.codehaus.org/browse/MWEBSTART-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Chemit closed MWEBSTART-151.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0-beta-2
Fixed in r14716.
> offlineAllowed and allPermissions don't have any effect
> -------------------------------------------------------
>
> Key: MWEBSTART-151
> URL: https://jira.codehaus.org/browse/MWEBSTART-151
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Affects Versions: 1.0-beta-1
> Reporter: Sven Meier
> Assignee: Tony Chemit
> Fix For: 1.0-beta-2
>
>
> There's no way currently to control JNLPs offlineAllowed and allPermissions
> reliably. The default JNLP template checks existance of these settings:
> #if($offlineAllowed)
> <offline-allowed/>
> #end
> #if($allPermissions)
> <security>
> <all-permissions/>
> </security>
> #end
> But AbstractJnlpMojo returns Strings "false" or "true" which are not
> interpreted as false/true by Velocity:
> public String getOfflineAllowed()
> {
> if ( jnlp.getOfflineAllowed() != null )
> {
> return jnlp.getOfflineAllowed();
> }
> return "false";
> }
> public String getAllPermissions()
> {
> if ( jnlp.getAllPermissions() != null )
> {
> return jnlp.getAllPermissions();
> }
> return "true";
> }
> Currently I have to use a custom template to circumvent this bug.
--
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