Opened 12 years ago
Closed 12 years ago
#8777 closed defect (invalid)
Problem with build
Reported by: | jdev | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Loader | Version: | 1.3.0b2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I don't know if this is a bug or I don't know what I am doing but this worked in 1.2 and does not work in 1.3.
When I created a custom build in 1.2 it included everything that I needed. In 1.3 when I use the same profile file for the custom build my pages now have many (19) additional requests for javascript files from _base and _base/_loader.
I am using FF & yslow to view the components that are loaded.
My profile file:
dependencies ={
layers: [
{
name: "pp_wholesale_imain_dojo.js", dependencies: [
"dojo.data.ItemFileReadStore?", "dojo.date", "dojo.date.stamp", "dijit.Dialog", "dijit.Tree", "dijit.layout.TabContainer?", "dijit.layout.BorderContainer?", "dijit.layout.AccordionContainer?", "dijit.layout.ContentPane?", "dijit.form.ComboBox?", "dijit.form.DateTextBox?", "dijit.form.CurrencyTextBox?", "dijit.form.CheckBox?", "dijit.form.Button", "dojox.form.BusyButton?", "dijit.form.FilteringSelect?", "dojox.grid.Grid", "dojox.grid.DataGrid?", "dojox.image.Lightbox", "dojox.html.styles", "dojo.parser"
]
}
], prefixes: [
["dojo.data", "../dojo/data"], ["dijit", "../dijit"], ["dojox", "../dojox"], ["dojox.grid", "../dojox/grid"], ["dojox.grid._grid", "../dojox/grid/_grid"], ["dojox.grid_data", "../dojox/grid/_data"], ["dojox.image", "../dojox/image"], ["dojox.html", "../dojox/html"]
]
};
I tried adding references to the _base modules with no success.
dependencies ={
layers: [
{
name: "pp_wholesale_imain_dojo.js", dependencies: [
"dojo.data.ItemFileReadStore?", "dojo.date", "dojo.date.stamp", "dojo._base.array", "dojo._base.Color", "dojo._base.browser", "dojo._base.window", "dojo._base.event", "dojo._base.html", "dojo._base.lang", "dojo._base.declare", "dojo._base.connect", "dojo._base.Deferred", "dojo._base.json", "dojo._base.NodeList?", "dojo._base.query", "dojo._base.xhr", "dojo._base.fx", "dijit.Dialog", "dijit.Tree", "dijit.layout.TabContainer?", "dijit.layout.BorderContainer?", "dijit.layout.AccordionContainer?", "dijit.layout.ContentPane?", "dijit.form.ComboBox?", "dijit.form.DateTextBox?", "dijit.form.CurrencyTextBox?", "dijit.form.CheckBox?", "dijit.form.Button", "dojox.form.BusyButton?", "dijit.form.FilteringSelect?", "dojox.grid.Grid", "dojox.grid.DataGrid?", "dojox.image.Lightbox", "dojox.html.styles", "dojo.parser"
]
}
], prefixes: [
["dojo._base", "../dojo/_base"], ["dojo.data", "../dojo/data"], ["dijit", "../dijit"], ["dojox", "../dojox"], ["dojox.grid", "../dojox/grid"], ["dojox.grid._grid", "../dojox/grid/_grid"], ["dojox.grid_data", "../dojox/grid/_data"], ["dojox.image", "../dojox/image"], ["dojox.html", "../dojox/html"]
]
};
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
closing for lack of response. please reopen if there is any issue here. thanks.
the prefixes you have defined seem invalid (in both cases). the prefix just maps the top-level namespace to a folder (not sure . access in there was ever intended)
restoring your original profile to use
should fix you. Not sure why _base modules would be getting require()'d other than you not having a proper dojo prefix defined.
I want to call this invalid based on the usage of your prefixes, but want to ensure that fixes your issue.