The Compile with Save feature in NetBeans works well.
But after I changed the project creation directory by adding the line
build.dir=path/to/my/own/build/dir
or
build.classes.dir=path_to_my_own_build_dir/classes
to path_to_my_project/nbproject/private/private.properties , NetBeans no longer compiles when saved.
I have to click the “Compile” or “Clean and Compile” button to compile my project.
I checked that in nbproject/private/private.properties : there is a line compile.on.save=true , and the "Compile on saving" checkbox is compile.on.save=true in the project properties dialog box.
Is there a way to allow NetBeans to "Compile with Saving"?
source share