mercredi 15 octobre 2014

build failed: Unknown definition for dependency : GeoExt.panel.Map

I am trying to use GeoExt for my ExtJS App, but while building i am getting BUILD ERROR

BUILD FAILEDcom.sencha.exceptions.ExNotFound: Unknown definition for dependency : GeoExt.panel.Map


I have defined the class path in .sencha/app/sencha.cfg :


app.classpath=${app.dir}/src/app,${app.dir}/app.js,${app.dir}/../thirdparty/libs/geoext-2/src/GeoExt,${app.dir}/../thirdparty/libs/OpenLayers-2.12/lib


I have also created JS file (geoext.js) for CLASS PATH MAPPINGS & referenced in index.html


Ext.Loader.addClassPathMappings({ "GeoExt": "../thirdparty/libs/geoext-2/src/GeoExt"});


I am using the Ext JS & Sencha CMD of the following versions Ext JS : 5.0.1 Sencha CMD : 5.0.2.270


I am not able to find the mistake, please let me know is there any other config setting i'm missing.






build failed: Unknown definition for dependency : GeoExt.panel.Map

Aucun commentaire:

Enregistrer un commentaire