-
Notifications
You must be signed in to change notification settings - Fork 925
Compile on save not working #5839
Copy link
Copy link
Closed
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)Maven[ci] enable "build tools" tests[ci] enable "build tools" testskind:bugBug report or fixBug report or fixpending-responseAwaiting further information to be suppliedAwaiting further information to be supplied
Metadata
Metadata
Assignees
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)Maven[ci] enable "build tools" tests[ci] enable "build tools" testskind:bugBug report or fixBug report or fixpending-responseAwaiting further information to be suppliedAwaiting further information to be supplied
Type
Fields
Give feedbackNo fields configured for issues without a type.
Apache NetBeans version
Apache NetBeans 17
What happened
Hello,
while coding with Netbeans 17 it would be useful the IDE to compile on save the java class modified.
Even if I have the check "Compile on save" on the project turned on, the class file is not compiled/update in the target folder after an edit/save of the interested java source file.
Could you please advise on that?
Many thanks
Giuseppe.
How to reproduce
Create a maven java project, a java source file into it.
Turn on the "Compile on save" option on the project.
Edit the java file and look that the class file is not updated into the target directory of the project unless you do a full build of the project.
Did this work correctly in an earlier version?
No / Don't know
Operating System
RedHat 7.7
JDK
Java: 11; OpenJDK 64-Bit Server VM 11+28
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No