Apache NetBeans version
Apache NetBeans 30, Glassfish 8.0.3
What happened
When in the web.xml PROJECT_STAGE is set to "production" the "copy static resource on save" in "properties / run" does not work. Saved changes in xhtml-files are not reflected in the browser - the page stays with the old content until the application is redeployed.
When PROJECT_STAGE is set to "development", the changes are reflected in the browser instantly. But I don't want to set the PROJECT_STAGE to "development" (although the project is in development), because (especially since Glassfish 8.0.3) the application gets very, very slow with PROJECT_STAGE development.
Language / Project Type / NetBeans Component
maven web project
How to reproduce
Set PROJECT_STAGE in web.xml to "production" and enable "copy static resource on save" in "properties / run". Changes in xhtml-Files are not reflected in the deployed application when they are saved.
Did this work correctly in an earlier version?
No / Don't know
Operating System
win11
JDK
open-JDK 21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Apache NetBeans version
Apache NetBeans 30, Glassfish 8.0.3
What happened
When in the web.xml PROJECT_STAGE is set to "production" the "copy static resource on save" in "properties / run" does not work. Saved changes in xhtml-files are not reflected in the browser - the page stays with the old content until the application is redeployed.
When PROJECT_STAGE is set to "development", the changes are reflected in the browser instantly. But I don't want to set the PROJECT_STAGE to "development" (although the project is in development), because (especially since Glassfish 8.0.3) the application gets very, very slow with PROJECT_STAGE development.
Language / Project Type / NetBeans Component
maven web project
How to reproduce
Set PROJECT_STAGE in web.xml to "production" and enable "copy static resource on save" in "properties / run". Changes in xhtml-Files are not reflected in the deployed application when they are saved.
Did this work correctly in an earlier version?
No / Don't know
Operating System
win11
JDK
open-JDK 21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No