duglius | 21 Jun 2012 18:07
Picon

1.7 Custom Build issues

Bear with me as I'm new to both Dojo and builds, and my Google Fu has come up
short. Some of the documentation and tutorials I've found are confusing to
me, I think due to old and new approaches.

I tried making a custom build from a sample profile locally, but then I
discovered the web build tool and used that.

In either case, I specified in the build every package that my source file
"require"s, but I'm still seeing unsatisfied requests for external js files
(and JS errors, of course).

My source file has:
                        dojo.require("dojox.mobile");
                        dojo.require("dojox.mobile.parser");
                        dojo.require("dojox.mobile.compat");
                        dojo.require("dojox.mobile.deviceTheme");

And my custom build included all of those plus the two specific dojox.mobile
classes I'm using in the page. 

But when I load my custom dojo.js instead of the CDN one, I get 404 errors
for /dojo/dijit/registry.js, /dojo/dijit/_Contained.js,
/dojo/dijit/_Container.js, and /dojo/dijit/_WidgetBase.js.

(The first JS error seems to be at 

var dm = lang.getObject("dojox.mobile", true);

Do I just need to add those packages explicitly to the build? I thought the
prereqs were supposed to be pulled in automatically?
(Continue reading)

duglius | 21 Jun 2012 19:33
Picon

Re: 1.7 Custom Build issues

So even if I wanted to manually include those other modules, at least the
_WidgetBase one doesn't appear to exist at all in the web build tool's list.

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/1-7-Custom-Build-issues-tp3986797p3986805.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

duglius | 21 Jun 2012 20:49
Picon

Re: 1.7 Custom Build issues

Manually including those reveals further modules that are requested. This
can't be the normal, correct build process?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/1-7-Custom-Build-issues-tp3986797p3986808.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane