Opened 14 years ago
Closed 14 years ago
#3160 closed defect (fixed)
build: dependency prefixes with dots in them are copied wrong.
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | BuildTools | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Reported on dojo-interest by zhangxu xa:
I found there maybe a problem with the util/buildscripts/build.js: If I define my profile like this:
... dependencies.prefixes = [ [ "bull.utils", "../../../ext/bull/utils" ], ]; ...
then in the building process, the building tool will copy the scripts in "../../../ext/bull/utils" (my custom source dir relative to dojo.js) to dir "bull.utils" next to dojo, it seems that the scripts should be copy to "bull/utils" next to dojo dir, then the building will fail because scripts in "bull/utils" will not be found.
I replaced argument 'prefixName' of function _prefixPathRelease with prefixName.replace(/./g, "/") then everything seems to be alright.
Am I right?
(In [8753]) Fixes #3160. dependency prefixes with dots in them should be copied correctly now.