Module-Scoped Dependencies via module.properties

LabKey Support Forum (Inactive)
Module-Scoped Dependencies via module.properties Nick Kerr  2014-12-18 20:21
Status: Closed
 
Hi Will,

Thanks for the post. I was able to reproduce the issues that you mentioned and have issued a fix for module.xml and view.xml (see revision 35683). This allows you to specify external dependencies (e.g. https://...) as was intended.

As for the error you received when "Using a URL in lib.xml where the URL is in a script tag resulted in my Ant build failing." The library compiler doesn't allow external scripts to be declared as part of a library definition, but rather, as a dependency of the library. I've improved the error in this case:

ERROR: External scripts (e.g. https://.../script.js) cannot be declared in library definition. Consider making it a <dependency>.

I've also amended the documentation.