On 7/20/09 1:49 PM, Diego Novillo wrote:
> In our build system, the plugin binary is stored in a different tree
> from where the scripts reside.  Since dehydra initialization uses
> dirname(dehydra.so), it fails to find the standard scripts.  Ideally,
> it should be useful to specify an include path for scripts (including
> dehydra's own).  In the meantime, I could get around it by using the
> path of the script as the base directory for scripts:

You can dynamically modify sys.include_path to specify additional locations
to search for scripts, see
https://developer.mozilla.org/En/Dehydra/Function_Reference#include%28file_.5b.2c_namespace.5d%29
for docs and
http://mxr.mozilla.org/mozilla-central/source/config/static-checking.js#16
for an example.

--BDS

_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to