Dataverse: XHTML changes not deployed on save from Netbeans

Created on 24 Sep 2019  路  10Comments  路  Source: IQSS/dataverse

When I save a change in xhtml, it does get promptly copied into the target/dataverse-4.16 directory... which really is all it should take to "deploy" an xhtml file, normally. So somehow jsf/primefaces keeps caching the old copy past this point - ?
I'll keep researching...

Code Infrastructure Bug

Most helpful comment

Woohoo!
(I'm Elmo. Oh yeah... :tada: )

All 10 comments

For discussion at tech hours today.

One decision from tech hours so far, let's try backing out these pull requests independently to see if it gets us back to normal:

  • remove orphaned Endorsed Java API specials #6141
  • Maven Offline support #6133

Something else to try is Watch and Deploy (WAD) from @AdamBien

From the README I wasn't sure if it only watches for Java changes but according to https://github.com/AdamBien/wad/issues/2 it might look for XHTML changes as well.

The idea here is to better understand how Netbeans is involved. We think Netbeans is hooking into a feature of Glassfish or something to allow "deploy on save" to work.

Please keep me posted on this. If those PRs really would be a showstopper for Netbeans, that sounds like a bug in Netbeans...

Something else to look at backing out:

  • 5f99037 increase buffer size for response committed error

@poikilotherm You're off the hook -- for now. Backed out your changes in my local version of develop and still can not get XHTML changes to show in the browser without a full redeploy.

Woohoo!
(I'm Elmo. Oh yeah... :tada: )

And the winner is... 5f99037e5df918cf5f653c61971b5a701d690e58.

Reverted those changes, redeployed the app, and now I can make a simple XHTML change, refresh my browser, and see the change to the page without having to redeploy the entire app.

Thanks for the tip, @pdurbin. Sorry @sekmiller for having to assign this one to ya.

Steve, have you tried leaving the BUFFER_SIZE set to the high value, but setting theREFRESH_PERIOD to something like 60 sec.? - I'm curious what happens then...

Developers have a workaround so I'm de-prioritizing this for now.

Was this page helpful?
0 / 5 - 0 ratings