PDA

View Full Version : Build app with plugin



stefx
27 Aug 2013, 6:10 AM
Hi to all, I'm trying to build my app with VinylFox GMapPanel plugin.
I've add this on my app.js:


Ext.Loader.setPath('Ext.ux', 'resources/plugin');
and

requires: ['Ext.ux.GMapPanel']

but with sencha app build in the minified js the plugin is not included and I got the error "google is not defined".

Any idea?
Thanks
Stefano

frankbolviken
27 Aug 2013, 1:27 PM
I think you have to add it to the classpath of the application in a file inside the .sencha folder if i'm not mistaken, if not the Sencha CMD does not understand that it has to include this file.
I think is the sencha.cfg in the .sencha/app folder, keyword app.classpath or something?

Frank