Login Register

profile

Custom build--how to exlude dojo/dijit components from custom namespace build output?

I am attempting to create a custom build of dojo for my organization.

All of our internally developed widgets and utility support functions are in a namespace mojo.

I would like to create a custom build of dojo which creates a dojo.js with the standard dojo components we use, a dijit.js with the standard digits, and a mojo.js (currently called mojoForm.js in my build profile so I can be sure to identify the file correctly in the output) which combines all of our custom widgetry.

Need help for Custom Build

Hi all,

I am newbie to DOJO.
Please help me in following issues on custom build.

1) In my project I used dijit.Tooltip, and my own js file(showToolTip.js).
Can you please help me to create profile.js file for my project.

2) I tried custom build with the following RK.profile.js file:

<code>
dependencies ={

layers: [

{

name: "sirius-dojo.js",
dependencies: [

"dijit.form.Button"

]

}

Build Profile Parameter Descriptions Table

In order to try and fully understand the dojo build profile parameters, I have attempted to describe them in the following table. It took me some time to gather this information from different sources and through trial and error, so if I can get some help with this table (especially corrections and additions), I would like to attach it to the dojo 1.x manual for others to use.

For source code at version 1.0.2, this table assumes a minimal build command of the form:

v1.0.2 build profile parameter "resourceName" purpose?

What is the purpose of the resourceName parameter in a dojo v1.0.2 build profile?

-=> Gregg <=-

'layers' profile fail during the build

I am using cygwin and dojo-release-1.0.0-src.zip, trying to create a custom build, but even the default profile won't build.

/dojo/util/buildscripts
$ ./build.sh profile=layers action=release
release: Using profile: profiles/layers.profile.js
...
release: Interning strings for : ../../release/dojo/dijit/_TimePicker.js
release: ../../release/dojo/dijit/form/templates/TimePicker.html
rhino load('./../../release/dojo/dijit/nls/dijit-all_cs.js') failed. Exception:
SyntaxError: syntax error
js: "jslib/i18nUtil.js", line 221: exception from uncaught JavaScript throw: Can

Syndicate content