Library search order

Hi all,

Can someone tell me if there is a canonical search order for library files in the Arduino environment?

Can I reliably depend on the compiler to choose a particular set of files if I have identically named library directories, for example:

".../Sketchbook/libraries/SD"

and

".../arduino-1.0.1/libraries/SD"

Thanks for your help!

Cheers,
Ted Gill

Can I reliably depend on the compiler to choose a particular set of files if I have identically named library directories, for example:

The best way is to try it and see. The library search order is NOT random. Which folder gets searched first, I could not tell you. I can say, though, that they are always searched in the same order.