Sencha App Build :: Missing images after build
Hi,
i'am using the sencha cmd v3.0.0.188 (also the same with 181 and 144), the process does not copy all the mendatory images in resources :
Code:
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/form/trigger.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/form/exclamation.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/form/text-bg.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/form/date-trigger.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/form/spinner.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/button/s-arrow.gif
- GET file://localhost/Users/tag-all/Workspace/Enoleo/vegarw/charting/applications/desktop/resources/images/default/grid/grid3-hd-btn.gif
Even if i populate the custom.js file in theme folder
Code:
$CustomManifest = {
widgets: [
{
xtype: 'widget.datefield',
ui: 'default'
},
{
xtype: 'widget.timefield',
ui: 'default'
},
{
xtype: 'widget.numberfield',
ui: 'default'
},
{
xtype: 'widget.splitbutton',
ui: 'default'
}
]
};
Still missing framework images with 3.0.0.190
I've still have the same "issue" using the lastest release of Sencha Cmd (190):
Code:
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/form/trigger.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/form/exclamation.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/form/text-bg.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/form/date-trigger.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/form/spinner.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/button/s-arrow.gif
Failed to load resource file://localhost/Library/ext/resources/themes/images/default/grid/grid3-hd-btn.gif
For example, here is the code in the app.css (in my development folder, i.e myApp)
Code:
.x-form-trigger{background-image:url('../../../../../../../../Library/ext/resources/themes/images/default/form/trigger.gif');
And in the app.css after build :
Code:
.x-form-trigger{background-image:url('../../../../../../../../Library/ext/resources/themes/images/default/form/trigger.gif');
This is the same "path", so error comes from path access... In build folder it should be :
Code:
image:url('resources/themes/images/default/form/trigger.gif');
One another thing, important in this issue : the
Code:
resources/themes/images/default/form
Code:
resources/themes/images/default/button
folders are NOT COPIED/CREATED !!!!
even if I use the "http://docs.sencha.com/ext-js/4-1/#!/guide/command_theme" procedure :
all subfolders of "images" are copied (i.e btn, btn-group...) excepted "form, button" - and others, but here my application use lot of form widgets !!!!!
Another "strange" thing :
There is a missing image :
Code:
http://xxxxx/xxx/xxx/xxx/resources/images/default/grid/grid3-hd-btn.gif
but there is a "grid" folder, which only contains 2 images ;-)
(column-header-bg.gif and column-header-over-bg.gif)