apache / apache/netbeans

"Copy static resources on save" to Wildfly does not work in Netbeans 19 (and 18) for a (Primefaces) JSF project

Open
#6,410 1 comment 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 19 release candidate, still in Apache Netbeans 20

### What happened

In (and before) Netbeans 17, when in "project properties" , "Copy Static Resources on Save" was switched on, and anything was changed in a facelets file (.xhtml), this change was propagated to the appropriate "deployment" directory in the Wildfly directory structure. The change was then immediately visible (after a page refresh) in the deployed application in the browser.
This feature does not work anymore in Netbeans 18, and (as I have just tested) in Netbeans 19 and (edited Dec. 4 2023) in Netbeans 20.

Wildfly version : 19.1.0.Final.

### How to reproduce

_No response_

### Did this work correctly in an earlier version?

Apache NetBeans 17

### Operating System

Ubuntu 22.04

### JDK

java-11-openjdk-amd64

### Apache NetBeans packaging

Apache NetBeans Snap Package

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a NetBeans 18–20 JSF project with "Copy Static Resources on Save" enabled, then compare the behavior with NetBeans 17. Trace how changes to .xhtml facelets are copied to the WildFly deployment directory. Done means an edited facelet is propagated and visible after a browser refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.