Advertisement
Guest User

Fresh app.json file generated by Sencha Touch 2.0.1.1

a guest
Jun 29th, 2012
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     /**
  3.      * The application's namespace, used by Sencha Command to generate classes
  4.      */
  5.     "name": "FreshSenchaProj",
  6.  
  7.     /**
  8.      * The file path to this application's front HTML document, relative to this app.json file
  9.      */
  10.     "indexHtmlPath": "index.html",
  11.  
  12.     /**
  13.      * The absolute URL to this application in development environment, i.e: the URL to run this application
  14.      * on your web browser during development, e.g: "http://localhost/myapp/index.html".
  15.      *
  16.      * This value is needed when build to resolve your application's dependencies if it requires server-side resources
  17.      * that are not accessible via file system protocol.
  18.      */
  19.     "url": null,
  20.  
  21.     /**
  22.      * List of all JavaScript assets in the right execution order.
  23.      * Each item is an object with the following format:
  24.      *      {
  25.      *          "path": "path/to/script.js" // Relative path to this app.json file
  26.      *          "update": "delta"           // (Optional)
  27.      *                                      //  - If not specified, this file will only be loaded once, and
  28.      *                                      //    cached inside localStorage until this value is changed.
  29.      *                                      //  - "delta" to enable over-the-air delta update for this file
  30.      *                                      //  - "full" means full update will be made when this file changes
  31.      *
  32.      *      }
  33.      */
  34.     "js": [
  35.         {
  36.             "path": "sdk/sencha-touch.js"
  37.         },
  38.         {
  39.             "path": "app.js",
  40.             "bundle": true,  /* Indicates that all class dependencies are concatenated into this file when build */
  41.             "update": "delta"
  42.         }
  43.     ],
  44.  
  45.     /**
  46.      * List of all CSS assets in the right inclusion order.
  47.      * Each item is an object with the following format:
  48.      *      {
  49.      *          "path": "path/to/item.css" // Relative path to this app.json file
  50.      *          "update": "delta"          // (Optional)
  51.      *                                     //  - If not specified, this file will only be loaded once, and
  52.      *                                     //    cached inside localStorage until this value is changed to either one below
  53.      *                                     //  - "delta" to enable over-the-air delta update for this file
  54.      *                                     //  - "full" means full update will be made when this file changes
  55.      *
  56.      *      }
  57.      */
  58.     "css": [
  59.         {
  60.             "path": "resources/css/app.css",
  61.             "update": "delta"
  62.         }
  63.     ],
  64.  
  65.     /**
  66.      * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
  67.      */
  68.     "appCache": {
  69.         /**
  70.          * List of items in the CACHE MANIFEST section
  71.          */
  72.         "cache": [
  73.             "index.html"
  74.         ],
  75.         /**
  76.          * List of items in the NETWORK section
  77.          */
  78.         "network": [
  79.             "*"
  80.         ],
  81.         /**
  82.          * List of items in the FALLBACK section
  83.          */
  84.         "fallback": []
  85.     },
  86.  
  87.     /**
  88.      * Extra resources to be copied along when build
  89.      */
  90.     "resources": [
  91.         "resources/images",
  92.         "resources/icons",
  93.         "resources/startup"
  94.     ],
  95.  
  96.     /**
  97.      * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
  98.      */
  99.     "ignore": [
  100.         "\.svn$"
  101.     ],
  102.  
  103.     /**
  104.      * Directory path to store all previous production builds. Note that the content generated inside this directory
  105.      * must be kept intact for proper generation of deltas between updates
  106.      */
  107.     "archivePath": "archive",
  108.  
  109.     /**
  110.      * Default paths to build this application to for each environment
  111.      */
  112.     "buildPaths": {
  113.         "testing": "build/testing",
  114.         "production": "build/production",
  115.         "package": "build/package",
  116.         "native": "build/native"
  117.     },
  118.  
  119.     /**
  120.      * Build options
  121.      */
  122.     "buildOptions": {
  123.         "product": "touch",
  124.         "minVersion": 3,
  125.         "debug": false,
  126.         "logger": "no"
  127.     },
  128.  
  129.     /**
  130.      * Uniquely generated id for this application, used as prefix for localStorage keys.
  131.      * Normally you should never change this value.
  132.      */
  133.     "id": "fbff8a30-c1c2-11e1-babb-959393c022ff"
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement