简体   繁体   English

禁用/启用Netbeans中的编译错误

[英]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. 我犯了一个可怕的错误,告诉Netbeans在运行Maven应用程序时始终忽略编译错误。

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 ! TIA!

Jan 一月

For NetBeans 8.0.2 (in my case): 对于NetBeans 8.0.2(以我为例):

C:\\Users\\username\\AppData\\Roaming\\NetBeans\\8.0.2\\config\\Preferences\\org\\netbeans\\modules\\java\\source\\BuildArtifactMapperImpl.properties C:\\ Users \\用户名\\应用程序数据\\漫游\\的NetBeans \\ 8.0.2 \\配置\\设定\\有机\\ netbeans的\\模块\\的java \\源\\ BuildArtifactMapperImpl.properties

file contains: askBeforeRunWithErrors=false 文件包含:askBeforeRunWithErrors = false

Set to true or file can be deleted, to reset. 设置为true或可以删除​​文件以进行重置。

Don't bother - found it after making a directory diff : 不要打扰-在创建目录diff后找到它:

Stop Netbeans, remove the file underneath and start Netbeans again. 停止Netbeans,删除下面的文件,然后再次启动Netbeans。

.netbeans/7.0/config/Preferences/org/netbeans/modules/java/source/BuildArtifactMapperImpl.properties 的.netbeans / 7.0 /配置/偏好/组织/ netbeans的/模块/ JAVA /源极/ BuildArtifactMapperImpl.properties

Simple, no ? 简单,不是吗? :-) :-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM