After every save I need to right-click on the project in the project browser and click on build
.
Is there a way to configure NetBeans to auto-build the project when I save a file?
相关问题
- Step by step instructions for getting cppunit up a
- org.jdesktop.application package doesn't exist
- Don't want netbeans debugger to go to disassem
- using rmic in netbeans
- netbeans unable to resolve identifier c_str
相关文章
- Java: Look and Feel
- C++ compiler error in netbeans
- Passing command line arguments to Java via ant bui
- How to escape @ sign inside JSDoc comments in NetB
- php: auto indent the whole code?
- ANT - Could not load a dependent class com/jcraft/
- Create src/test/resources in Maven Netbeans 8.x wi
- library resolve to a path with no project.properti
The compile on save option is not available for free-form projects as of NetBeans version 8.0. And I don't think it will be made available in future too. The very idea of free-form is that that IDE does not know anything about your project and completely relies on the ant-scripts and the mappings you provide.
If you don't want to build an entire project every time you make changes to a file, create a target in ant to compile a single file and map it to the IDE command compile.single. You could add a context menu for that if required, although the existing keyboard shortcut F9 should suffice.
You can read more on the advance free-form configuration here - Advanced Free-Form Project Configuration
See Compile on Save FAQ: http://wiki.netbeans.org/FaqCompileOnSave
I don't use CoS myself, I highly recommend Jenkins for your auto-build needs (and so much more): http://jenkins-ci.org/