Hello,
and app.json
i fighting with sencha about 2 days, its diffucult to create start development kit for mobile dev.
Sencha error build native app
i have some problems to create native test app with CLI
here some code:
Code:
Sencha Cmd v5.0.3.324
[INF] Processing Build Descriptor : native
[INF] Using GPL Version of Ext JS version 2.4.1.527 from C:\Users\mromanowski\De
sktop\TestApp\touch.
[INF] The implications of using GPL version can be found here (http://www.sencha
.com/products/extjs/licensing).
[INF] Loading app json manifest...
[INF] Concatenating output to file C:\Users\mromanowski\Desktop\TestApp\build\te
mp\production\TestApp\sencha-compiler\cmd-packages.js
[INF] writing content to C:\Users\mromanowski\Desktop\TestApp\bootstrap.js
[INF] appending content to C:\Users\mromanowski\Desktop\TestApp\bootstrap.js
[INF] appending content to C:\Users\mromanowski\Desktop\TestApp\bootstrap.js
[INF] appending content to C:\Users\mromanowski\Desktop\TestApp\bootstrap.js
[INF] Appending content to C:\Users\mromanowski\Desktop\TestApp/bootstrap.json
[WRN] C1015: callSuper has no target (this.callSuper in Ext.Container.setParent)
-- C:\Users\mromanowski\Desktop\TestApp\touch\src\Container.js:406
[WRN] C1015: callSuper has no target (this.callSuper in Ext.Container.doSetHidde
n) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\Container.js:1270
[WRN] C1014: callParent has no target (this.callParent in Ext.Decorator.setDisab
led) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\Decorator.js:157
[WRN] C1014: callParent has no target (this.callParent in Ext.data.ArrayStore.lo
adData) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\data\ArrayStore.js:64
[WRN] C1014: callParent has no target (me.callParent in Ext.dataview.DataView.on
AfterRender) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\dataview\DataView
.js:892
[WRN] C1015: callSuper has no target (this.callSuper in Ext.event.publisher.Touc
hGesture.publish) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\event\publis
her\TouchGesture.js:178:7
[WRN] C1014: callParent has no target (this.callParent in Ext.fx.animation.Wipe.
getData) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\fx\animation\Wipe.js:
119:7
[WRN] C1015: callSuper has no target (this.callSuper in Ext.layout.Default.setCo
ntainer) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\layout\Default.js:63
[WRN] C1015: callSuper has no target (this.callSuper in Ext.layout.Fit.onContain
erSizeFlagsChange) -- C:\Users\mromanowski\Desktop\TestApp\touch\src\layout\Fit.
js:29
[INF] Concatenating output to file C:\Users\mromanowski\Desktop\TestApp\cordova\
www\app.js
[INF] merging resources into C:\Users\mromanowski\Desktop\TestApp\cordova\www\re
sources
[INF] merged 0 resources into C:\Users\mromanowski\Desktop\TestApp\cordova\www\r
esources
[INF] merging resources into C:\Users\mromanowski\Desktop\TestApp\cordova\www
[INF] merged 0 resources into C:\Users\mromanowski\Desktop\TestApp\cordova\www
[INF] executing compass using system installed ruby runtime
identical ../css/app.css
[INF] Copying page resources to C:\Users\mromanowski\Desktop\TestApp\cordova\www
[INF] Writing content to C:\Users\mromanowski\Desktop\TestApp/cordova/www/microl
oader.js
[INF] Appending content to C:\Users\mromanowski\Desktop\TestApp/cordova/www/micr
oloader.js
[INF] Building output markup to C:\Users\mromanowski\Desktop\TestApp/cordova/www
/index.html
[INF] Writing content to C:\Users\mromanowski\Desktop\TestApp/cordova/www/index.
html
[INF] [Cordova] Attempting Cordova Build for platforms "android"
[ERR] The following error occurred while executing this line:
C:\Users\mromanowski\Desktop\TestApp\.sencha\app\build-impl.xml:435: The followi
ng error occurred while executing this line:
C:\Users\mromanowski\Desktop\TestApp\.sencha\app\packager-impl.xml:17: The follo
wing error occurred while executing this line:
C:\Users\mromanowski\Desktop\TestApp\.sencha\app\cordova-impl.xml:77: The follow
ing error occurred while executing this line:
jar:file:/C:/Users/mromanowski/bin/Sencha/Cmd/5.0.3.324/sencha.jar!/com/sencha/a
nt/antlib.xml:631: shellscript returned: 1
and app.json
Code:
{
"builds": {
"web": {"default": true},
"native": {
"packager": "cordova",
"cordova" : {
"config": {
// Uncomment the line below and add the platforms you wish to build for
//"platforms": "ios android",
"platforms": "android",
"id": "com.example.TestApp",
"name": "TestApp"
}
}
}
},
/**
* The application's namespace, used by Sencha Command to generate classes
*/
"name": "TestApp",
/**
* The file path to this application's front HTML document, relative to this app.json file
*/
"indexHtmlPath": "index.html",
/**
* The absolute URL to this application in development environment, i.e: the URL to run this application
* on your web browser during development, e.g: "http://localhost/myapp/index.html".
*
* This value is needed when build to resolve your application's dependencies if it requires server-side resources
* that are not accessible via file system protocol.
*/
"url": null,
/**
* List of all JavaScript assets in the right execution order.
* Each item is an object with the following format:
* {
* "path": "path/to/script.js" // Path to file, if local file it must be relative to this app.json file
* "remote": true // (Optional)
* // - Defaults to undefined (falsey) to signal a local file which will be copied
* // - Specify true if this file is a remote file which will not to be copied
* "update": "delta" // (Optional)
* // - If not specified, this file will only be loaded once, and
* // cached inside localStorage until this value is changed.
* // - "delta" to enable over-the-air delta update for this file
* // - "full" means full update will be made when this file changes
* "x-bootstrap": true // (Optional)
* // Indicates a development mode only dependency.
* // These files will not be copied into the build directory or referenced
* // in the generate app.json manifest for the micro loader.
*
* }
*/
"js": [
{
"path": "cordova.js",
"remote": true
},
{
"path": "touch/sencha-touch.js",
"x-bootstrap": true
},
{
"path": "bootstrap.js",
"x-bootstrap": true
},
{
"path": "app.js",
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
"update": "delta"
}
],
/**
* List of all CSS assets in the right inclusion order.
* Each item is an object with the following format:
* {
* "path": "path/to/item.css" // Path to file, if local file it must be relative to this app.json file
* "remote": true // (Optional)
* // - Defaults to undefined (falsey) to signal a local file which will be copied
* // - Specify true if this file is a remote file which will not to be copied
* "update": "delta" // (Optional)
* // - If not specified, this file will only be loaded once, and
* // cached inside localStorage until this value is changed to either one below
* // - "delta" to enable over-the-air delta update for this file
* // - "full" means full update will be made when this file changes
*
* }
*/
"css": [
{
"path": "resources/css/app.css",
"update": "delta"
}
],
/**
* Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
*/
"appCache": {
/**
* List of items in the CACHE MANIFEST section
*/
"cache": [
"index.html"
],
/**
* List of items in the NETWORK section
*/
"network": [
"*"
],
/**
* List of items in the FALLBACK section
*/
"fallback": []
},
/**
* Extra resources to be copied along when build
*/
"resources": [
"config.xml",
"resources/images",
"resources/icons",
"resources/startup"
],
/**
* File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
*/
"ignore": [
"\.svn$"
],
/**
* Directory path to store all previous production builds. Note that the content generated inside this directory
* must be kept intact for proper generation of deltas between updates
*/
"archivePath": "archive",
/**
* List of package names to require for the cmd build process
*/
"requires": [
],
/**
* Uniquely generated id for this application, used as prefix for localStorage keys.
* Normally you should never change this value.
*/
"id": "bbf0a964-603a-4def-b225-8aa4c6daf742"
}
i fighting with sencha about 2 days, its diffucult to create start development kit for mobile dev.
Best regards
Matt
Sencha error build native app
Aucun commentaire:
Enregistrer un commentaire