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"
]
}
],
prefixes: [
[ "dijit", "../dijit" ],
]
};
</code>
But the build process failed, with the following exception:
<code>
D:\MyDHTML\dojoroot\util\buildscripts>build.bat profile=RK action=release
D:\MyDHTML\dojoroot\util\buildscripts>java -jar ../shrinksafe/custom_rhino.jar build.js profile=RK action=release
release: Using profile: profiles/RK.profile.js
release: Using version number: 0.0.0.dev for the release.
release: Deleting: ../../release/dojo
release: Copying: ../../dojo/../dijit to: ../../release/dojo/dijit
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.
</code>
What wrong with my code?
3) After custom build, do we get single js file with shrink ?
I really appreciate your time.
Thanks
Ramakrishna Nalla

2) Maybe without the comma
2) Maybe without the comma after [ "dijit", "../dijit" ], ?
Need to run the build process only in DOJO src version
Thanks shandar,
Before I executed build command on release version of dojo.
I tried the same way in src version, build process successfully completed.
And 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.
Is that enough to include js file which is created by build process, or do we need to refer dojo.js again?
Any help would be greatly appreciated.
Thanks & Regards
Ramakrishna Nalla
I'm a newbie too. To include
I'm a newbie too.
To include a custom build in the page I add both the js files
as suggested in the second comment here
http://dojotoolkit.org/book/dojo-book-0-9/part-4-meta-dojo/package-syste...
and it seems to work.
I don't know how to include a custom file in the build.
Hopefully the collaboration with Zend will bring us more detailed documentation.