Does monkey.jungle sourcePath work as I expect or is it scanning _everywhere_?

Hi,

So I'm trying to customise build for a series of related DF.

I have duly created a range of source directories... eg: "product1-source", "product2-source" etc.

Then, depending on which product I want to compile, I include the following in monkey.jungle:

base.sourcePath = $(base.sourcePath);product1-source
 

Each directory contains only the customised source and that source is only defined  in the product specific source directories.

However, when I compile I see:

Duplicate declaration of symbol 'PRODUCT_STUFF' in module 'globals'.

This implies that the compiler is actually scanning and adding all directories that include .mc files and not just the one I specify.

Am I correct?

Are there any locations that the compiler doesn't scan for source files where I can safely put my customisations?

Perplexed of Dublin