You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (Created) (JIRA)" <ji...@apache.org> on 2011/11/22 15:42:40 UTC

[jira] [Created] (PIVOT-822) Get codebase from JNLP files (Web Start)

Get codebase from JNLP files (Web Start)
----------------------------------------

                 Key: PIVOT-822
                 URL: https://issues.apache.org/jira/browse/PIVOT-822
             Project: Pivot
          Issue Type: Improvement
            Reporter: Sandro Martini
            Assignee: Sandro Martini
             Fix For: 2.1


Like Applets (that read codebase from the html page), read the codebase from the related JNLP file (using Web Start) for deploy.
So in DesktopApplicationContext, make a private static method that tries to get the codebase from Web Start BasicService, and if successful, set the webStartEnabled flag (to be put in ApplicationContext) ... and if possible set the origin property with the retrieved codebase (maybe only when origin is null).

Verify (with other Pivot Developers) if it's right to require Web Start jar even at compile time (like was some time ago), because some casts are even required in this new code (so all dynamic doesnt' makes sense).

Then, revert changes to build.properties and build.xml just committed as PIVOT-733 (and maybe even demo.jnlp.xsl to remove the root tag), and maybe make a little change even in LargeData.java (if needed).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIVOT-822) Get codebase from JNLP files (Web Start)

Posted by "Sandro Martini (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandro Martini updated PIVOT-822:
---------------------------------

    Attachment: pivot-733_from-406_workaround.patch
                webstart_flag_applicationcontext.patch

webstart_flag_applicationcontext.patch is only a part of required changes

pivot-733_from-406_workaround.patch is the patch to be removed when this new feature will be working

other patch will be needed and put here asap

                
> Get codebase from JNLP files (Web Start)
> ----------------------------------------
>
>                 Key: PIVOT-822
>                 URL: https://issues.apache.org/jira/browse/PIVOT-822
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>              Labels: jnlp, webstart
>             Fix For: 2.1
>
>         Attachments: pivot-733_from-406_workaround.patch, webstart_flag_applicationcontext.patch
>
>
> Like Applets (that read codebase from the html page), read the codebase from the related JNLP file (using Web Start) for deploy.
> So in DesktopApplicationContext, make a private static method that tries to get the codebase from Web Start BasicService, and if successful, set the webStartEnabled flag (to be put in ApplicationContext) ... and if possible set the origin property with the retrieved codebase (maybe only when origin is null).
> Verify (with other Pivot Developers) if it's right to require Web Start jar even at compile time (like was some time ago), because some casts are even required in this new code (so all dynamic doesnt' makes sense).
> Then, revert changes to build.properties and build.xml just committed as PIVOT-733 (and maybe even demo.jnlp.xsl to remove the root tag), and maybe make a little change even in LargeData.java (if needed).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira