开发者

disable/enable compilation errors in Netbeans

I've made the terrible mistake of telling Netbeans always to ignore compilation errors when running my Maven application.

Now that I want to revoke this, I can't seem to find an option anyway in the various configuration panels.

Does somebody know where this option can be changed ?

开发者_运维知识库

TIA !

Jan


For NetBeans 8.0.2 (in my case):

C:\Users\username\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\netbeans\modules\java\source\BuildArtifactMapperImpl.properties

file contains: askBeforeRunWithErrors=false

Set to true or file can be deleted, to reset.


Don't bother - found it after making a directory diff :

Stop Netbeans, remove the file underneath and start Netbeans again.

.netbeans/7.0/config/Preferences/org/netbeans/modules/java/source/BuildArtifactMapperImpl.properties

Simple, no ? :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜