Ticket #5675 (closed defect: duplicate)
custom dojo build failed
| Reported by: | guest | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | BuildTools | Version: | 1.0 |
| Severity: | normal | Keywords: | buildscripts custom |
| Cc: |
Description
I downloaded the dojo-release-1.0.2.zip and dojo-release-1.0.2-buildscripts.zip from http://download.dojotoolkit.org/release-1.0.2/. There are two folders "dojo-release-1.0.2-buildscripts" and "dojo-release-1.0.2-src" in the dojo-release-1.0.2-buildscripts.zip. and I copy the util folder in the dojo-release-1.0.2-src to the dojo-release-1.0.2 foler.
I have the following directory structure:
dojo/ dijit/ dojox/ util/ util/buildscripts/ util/shrinksafe/
When I try to build one of the included profiles it fails:
E:dojo-release-1.0.2utiluildscripts>java -jar ../shrinksafe/custom_rhino.jar build.js profile=base action=release release: Using profile: profiles/base.profile.js release: Using version number: 0.0.0.dev for the release. release: Deleting: ../../release/dojo release: Copying: ../../dojo to: ../../release/dojo/dojo release: Building dojo.js and layer files js: uncaught JavaScript? runtime exception: TypeError?: Cannot read property "dojo .foo" from undefined js: uncaught JavaScript? runtime exception: TypeError?: Cannot find function regis terModulePath.
I tested the buildscript on dojo 1.0 and it works well.