#13093 closed defect (wontfix)
Problem when running a build with the buildLayers option on dojo 1.6
Reported by: | Ed Chatelain | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | BuildSystem | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Problem when running a build with buildLayers on dojo 1.6.
For example if I run a build for the demos with: ./build.sh action=release profile=demos-all version=1.6
I will get a built version of demos/mail/src.js and a src.js.uncompressed.js
Then if I run with buildLayers like this: ./build.sh action=release profile=demos-all version=1.6 buildLayers=../demos/mail/src.js,../demos/skew/src.js
I am getting this output: ./build.sh action=release profile=demos-all version=1.6 buildLayers=../demos/mail/src.js,../demos/skew/src.js release: Using profile: profiles/demos-all.profile.js release: Using version number: 1.6 for the release. release: Copying: ../../dojo/../dijit to: ../../release/demosite/dijit release: Not Copied: ../../dojo/../dijit release: Copying: ../../dojo/../dojox to: ../../release/demosite/dojox release: Not Copied: ../../dojo/../dojox release: Copying: ../../dojo/../demos to: ../../release/demosite/demos release: Not Copied: ../../dojo/../demos release: Copying: ../../dojo to: ../../release/demosite/dojo release: Not Copied: ../../dojo release: Building dojo.js and layer files js: "./jslib/i18nUtil.js#68(eval)", line 1: uncaught JavaScript? runtime exception: SyntaxError?: missing } in compound statement And demos/mail/src.js is updated with the original src.js file (not built) and the src.js.uncompressed.js file is not updated.
I suspect that the reverse AMD-transform that's in the 1.6 build system breaks the buildLayers option.
The build system has been completely replaced in 1.7, so we won't be fixing this issue.