简体   繁体   English

在Eclipse中排除源文件夹的问题

[英]Issue excluding source folder in eclipse

I'm trying to exclude from the build process an entire folder in eclipse but the IDE is still showing compiler errors for those files. 我正在尝试从构建过程中排除eclipse中的整个文件夹,但IDE仍显示这些文件的编译器错误。 This is in eclipse indigo. 这是日蚀靛蓝。

I tried excluding both the folder and one of the files individually: 我尝试分别排除文件夹和文件之一:

在此处输入图片说明

But I'm still seeing compiler errors: 但是我仍然看到编译器错误:

在此处输入图片说明

As soon as I tried to run the application once, the build errors went away. 一旦我尝试运行该应用程序一次,构建错误就消失了。 I think this forced a rebuild of the project which the caused eclipse to recognize the new build settings. 我认为这迫使重新构建项目,导致日食识别新的构建设置。

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

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