try
{
for (String dependentLibName : manifest.getDepends())
{
JsLib dependentLib = bundlableNode.app().jsLib(dependentLibName);
if (!dependentLib.dirExists())
{
throw new ConfigException(String.format("Library '%s' depends on the library '%s', which doesn't exist.", dir().getName(), dependentLibName)) ;
}
dependentLibs.addAll(dependentLib.linkedAssets());
}