Skip to content

Commit a15c94d

Browse files
author
jantje
committed
#522 the filter also excluded fies but it should only exclude folders
previous commit contained wrong file
1 parent 17b90c5 commit a15c94d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

it.baeyens.arduino.core/src/io/sloeber/core/api/BoardID.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ public IProject createProject(String projectName, URI projectURI,
145145
exclusionPath[2] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/**/test*/**"); //$NON-NLS-1$
146146
exclusionPath[3] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/**/third-party/**"); //$NON-NLS-1$
147147
exclusionPath[4] = new Path(Const.LIBRARY_PATH_SUFFIX + "**/._*"); //$NON-NLS-1$
148-
exclusionPath[5] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/c*/**"); //$NON-NLS-1$
149-
exclusionPath[6] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/d*/**"); //$NON-NLS-1$
150-
exclusionPath[7] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/D*/**"); //$NON-NLS-1$
148+
exclusionPath[5] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/c*/?*"); //$NON-NLS-1$
149+
exclusionPath[6] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/d*/?*"); //$NON-NLS-1$
150+
exclusionPath[7] = new Path(Const.LIBRARY_PATH_SUFFIX + "/?*/D*/?*"); //$NON-NLS-1$
151151

152152
ICExclusionPatternPathEntry newSourceEntry = new CSourceEntry(entries[0].getFullPath(), exclusionPath,
153153
ICSettingEntry.VALUE_WORKSPACE_PATH);

0 commit comments

Comments
 (0)