How to exclude files and folders with Jungles?

Hello!
With Jungles, it's very clear how we can exclude annotations, but is it possible to exclude files and folders ?

According to the developer documentation, Build Exclusions & Jungles are compatible, but : "Build exclusions provide a lot of the same capabilities as Jungle files, and will eventually be removed in a future Connect IQ release. If used in combination with a Jungle file, build exclusions will continue to work, but a warning will be generated indicating that they have been deprecated."

I'm excluding files and folders using Build Exclusions and all is working fine (and I receive the proper warning :) ), but is there any "excludeFile" or "excludeDir" options for Jungles?

Thank you! :cool:
  • Jim,  I might be miss interpreting this. But, I implemented the example above as follows.

    srcBase=source
    
    base.sourcePath=$(srcBase);source
    
    
    fr645.sourcePath = $(srcBase);source-lowmem

    I have two source files, 'source' and 'source-lowmem' but every time I run this i get the same issue Jan was running in to. " Attempting to redefine object". am I missing something? thanks.

  • on line 3 you are referencing source twice - once as $(srcBase)

    In the example I posted, source is my common code, while  source-nomaps and source-maps contain the specific code for the two builds

    so the structure for the project has

    source

    source-nomaps

    source-maps

    at the same level.  source is always used, and then either source-nomaps or source-maps