Robot-Will/Stino — pull request #95 by madmatt71 (2013-11-15 16:00:02+00:00)
Title: Fix  'unable to import a library that had some code in a 'src' subfolder...

Hi, had trouble getting my head around it, but I was unable to import a library that had some code in a 'src' subfolder.

It turns out there is a check in sketch.py, method expandCoreFolder that checks for a subfolder named src, and if so (I imagine because of some particular structure in the core arduino libraries) it skips including the main folder in the list of folders to be checked for include files.
I changed the method so that it checks whether the folder in question is in the arduino application path, and skip this particular behaviour for folders not in there (i.e. the sketchbook libraries folder):