mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Fix for [Bug 182309] The managed build does not work for source files in source folders.
This commit is contained in:
parent
6af8afe7af
commit
61c00b3d3b
1 changed files with 4 additions and 0 deletions
|
@ -504,6 +504,10 @@ public class CDataUtil {
|
||||||
|
|
||||||
public static boolean isExcluded(IPath path, ICSourceEntry entry){
|
public static boolean isExcluded(IPath path, ICSourceEntry entry){
|
||||||
IPath entryPath = new Path(entry.getName());
|
IPath entryPath = new Path(entry.getName());
|
||||||
|
|
||||||
|
if(path.isPrefixOf(entryPath))
|
||||||
|
return false;
|
||||||
|
|
||||||
if(!entryPath.isPrefixOf(path))
|
if(!entryPath.isPrefixOf(path))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue