Have jungle file that includes a barrel:
project.manifest = manifest.xml FOO = "../barrels/FOO" # similar results FOO = ["../barrels/FOO/monkey.jungle"] base.FOO.annotations = whatever base.barrelpath = $(base.barrelpath):$(FOO)
This works nice and fine.
Now, if for whatever reason you have build a barrel in the barrel can be found IN the path, eg ../barrels/FOO/bin/FOO.barrel and you later add a function to the barrel without making the barrel file) and want to use that function the project that has the above mentioned barrel include it breaks. You'll get messages like Undefined symbol "foo" detected. It appears the barrel is than looked up via the barrel file and not via the path, which is not what you expect given the monkey.jungle file you have. Especially if you specify a monkey.jungle file.