@@ -182,16 +182,17 @@ public void run(IProgressMonitor internalMonitor) throws CoreException {
182
182
excludes [1 ] = project .getFolder (SLOEBER_ARDUINO_FOLDER_NAME ).getProjectRelativePath ()
183
183
.append (SOURCE_ENTRY_FILTER_ALL );
184
184
newSourceEntries [0 ] = new CSourceEntry (project .getFullPath (), excludes , ICSettingEntry .RESOLVED );
185
- IPath excludes2 [] = new IPath [9 ];
185
+ IPath excludes2 [] = new IPath [10 ];
186
186
excludes2 [0 ] = IPath .fromOSString ("**/*.ino" ); //$NON-NLS-1$
187
187
excludes2 [1 ] = IPath .fromOSString ("libraries/?*/**/doc*/**" ); //$NON-NLS-1$
188
188
excludes2 [2 ] = IPath .fromOSString ("libraries/?*/**/?xamples/**" ); //$NON-NLS-1$
189
189
excludes2 [3 ] = IPath .fromOSString ("libraries/?*/**/?xtras/**" ); //$NON-NLS-1$
190
190
excludes2 [4 ] = IPath .fromOSString ("libraries/?*/**/test*/**" ); //$NON-NLS-1$
191
191
excludes2 [5 ] = IPath .fromOSString ("libraries/?*/**/third-party/**" ); //$NON-NLS-1$
192
192
excludes2 [6 ] = IPath .fromOSString ("libraries/**/._*" ); //$NON-NLS-1$
193
- excludes2 [7 ] = IPath .fromOSString ("libraries/?*/utility/*/*" ); //$NON-NLS-1$
194
- excludes2 [8 ] = IPath .fromOSString ("libraries/?*/Applications/**" ); //$NON-NLS-1$
193
+ excludes2 [7 ] = IPath .fromOSString ("libraries/?*/lib/**" ); //$NON-NLS-1$
194
+ excludes2 [8 ] = IPath .fromOSString ("libraries/?*/utility/*/*" ); //$NON-NLS-1$
195
+ excludes2 [9 ] = IPath .fromOSString ("libraries/?*/Applications/**" ); //$NON-NLS-1$
195
196
196
197
/*
197
198
* CDT currently causes issues with ${ConfigName]
@@ -448,17 +449,17 @@ public void run(IProgressMonitor internalMonitor) throws CoreException {
448
449
IPath path = newProjectHandle .getFolder (rootCodeFolder ).getFullPath ();
449
450
newSourceEntries [0 ] = new CSourceEntry (path , null , ICSettingEntry .RESOLVED );
450
451
}
451
- IPath excludes [] = new IPath [9 ];
452
- excludes [0 ] = IPath .fromOSString ("**/*.ino" ); //$NON-NLS-1$
453
- excludes [1 ] = IPath .fromOSString ("libraries/?*/**/doc*/**" ); //$NON-NLS-1$
454
- excludes [2 ] = IPath .fromOSString ("libraries/?*/**/?xamples/**" ); //$NON-NLS-1$
455
- excludes [3 ] = IPath .fromOSString ("libraries/?*/**/?xtras/**" ); //$NON-NLS-1$
456
- excludes [4 ] = IPath .fromOSString ("libraries/?*/**/test*/**" ); //$NON-NLS-1$
457
- excludes [5 ] = IPath .fromOSString ("libraries/?*/**/third-party/**" ); //$NON-NLS-1$
458
- excludes [6 ] = IPath .fromOSString ("libraries/**/._*" ); //$NON-NLS-1$
459
- excludes [7 ] = IPath .fromOSString ("libraries/?*/utility/*/ *" ); //$NON-NLS-1$
460
- excludes [8 ] = IPath .fromOSString ("libraries/?*/Applications/* *" ); //$NON-NLS-1$
461
-
452
+ IPath excludes2 [] = new IPath [10 ];
453
+ excludes2 [0 ] = IPath .fromOSString ("**/*.ino" ); //$NON-NLS-1$
454
+ excludes2 [1 ] = IPath .fromOSString ("libraries/?*/**/doc*/**" ); //$NON-NLS-1$
455
+ excludes2 [2 ] = IPath .fromOSString ("libraries/?*/**/?xamples/**" ); //$NON-NLS-1$
456
+ excludes2 [3 ] = IPath .fromOSString ("libraries/?*/**/?xtras/**" ); //$NON-NLS-1$
457
+ excludes2 [4 ] = IPath .fromOSString ("libraries/?*/**/test*/**" ); //$NON-NLS-1$
458
+ excludes2 [5 ] = IPath .fromOSString ("libraries/?*/**/third-party/**" ); //$NON-NLS-1$
459
+ excludes2 [6 ] = IPath .fromOSString ("libraries/**/._*" ); //$NON-NLS-1$
460
+ excludes2 [7 ] = IPath .fromOSString ("libraries/?*/lib/* *" ); //$NON-NLS-1$
461
+ excludes2 [8 ] = IPath .fromOSString ("libraries/?*/utility/*/ *" ); //$NON-NLS-1$
462
+ excludes2 [ 9 ] = IPath . fromOSString ( "libraries/?*/Applications/**" ); //$NON-NLS-1$
462
463
463
464
/*
464
465
* CDT currently causes issues with ${ConfigName]
@@ -468,7 +469,7 @@ public void run(IProgressMonitor internalMonitor) throws CoreException {
468
469
*/
469
470
IPath arduinoRoot = newProjectHandle .getFolder (SLOEBER_ARDUINO_FOLDER_NAME ).getFullPath ()
470
471
.append (curConfig .getName ());
471
- newSourceEntries [1 ] = new CSourceEntry (arduinoRoot , excludes , ICSettingEntry .NONE );
472
+ newSourceEntries [1 ] = new CSourceEntry (arduinoRoot , excludes2 , ICSettingEntry .NONE );
472
473
curConfig .setSourceEntries (newSourceEntries );
473
474
IAutoBuildConfigurationDescription iAutoBuildConfig = IAutoBuildConfigurationDescription
474
475
.getConfig (curConfig );
0 commit comments