Re: Issues with deploying a netbeans rcp app with jnlp
Peter Hansson <[email protected]> Fri, 15 Sep 2017 07:50:21 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAC55jYMm_v7XtfCsXngwHOdXE1MJQT8i9e79Fr+czmj7T75G2A@mail.gmail.com> |
Re build performance: I'm guessing you can build your application without signing in a couple of seconds. So if you turn off the signing how long does it then take to build your application?. Signing is slow from the outset and if I remember correctly there's been some reports that have suggested that the signing process for NB RCP apps could be made more effective. But you only need to sign when you release your application, so maybe not a big deal? On Wed, Sep 13, 2017 at 11:08 PM, syraxes <[email protected]> wrote: > Hello , > > I have a Netbeans RCP application that I want to deploy using JNLP. It w= as written a few years ago and now i am 'reviving' it. The deployment used= to work at that time (3-4 years ago) so my assumption is that the problem= s are related to some changes caused by the newer versions of Netbeans (8.2= ) and/or JDK (1.8 ). > > * First of all : build jnlp (building the war file) takes a lot of time= , aprox 10 minutes. In comparision : clean+build the same application tak= es 9 seconds . Is this normal ? Is there anything that can be done to s= peed up the build jnlp ? > It seems to be processing all the jars of the platform each time when doi= ng jnlp build , again and again - even if obviously the changes are only= in my own modules (i am not touching anything in the platform) . > > * During 'build jnlp' i am getting a lot of warnings about missing a ti= mestamp when signing jars. I've found on the Internet some suggestion abou= t going to project properties and the 'web start' tab and configure the sig= ning there . But I haven't been able to find that tab. Did it exist in o= lder NB versions and was ... removed ? > > * After building the war file and deploying it into glassfish , when a= ccessing the jnlp from browser there is an error about codebase having a wr= ong value $$codebase . > > > Thanks for any tip or suggestion , > Adrian > > > >