Skip to content

Compile on save not working #5839

@giusdiluca

Description

@giusdiluca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)Maven[ci] enable "build tools" testskind:bugBug report or fixpending-responseAwaiting further information to be supplied

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions