Results 1 to 2 of 2

Thread: Alternate build not in manifest?

  1. #1

    Default Alternate build not in manifest?

    I create two simple themes in a workspace (like charcoal, just two different colors).

    I have a generated app, and I modify app.json:

    Code:
        "builds": {
            "brun": {
                "theme": "brun"
            },
            "phone": {
                "theme": "brun-phone"
            }
        }
    Then what? I need to set Ext.manifest=... something?

    In app.json I have already set the name to "manifest" !

    Code:
        "production": {
            "indexHtmlPath": "",
    
            "output": {
                "base": "${workspace.build.dir}/${build.environment}/${app.name}",
    
                "page": {
                    "path": "../../../../../index.html",
                    "enable": false
                },
                "microloader": {
                    "path": "microloader.js",
                    "embed": false,
                    "enable": true
                }
            }
        },
    
        "testing": {
            "indexHtmlPath": "",
    
            "output": {
                "base": "${workspace.build.dir}/${build.environment}/${app.name}",
    
                "page": {
                    "path": "../../../../../index.html",
                    "enable": false
                },
                "microloader": {
                    "path": "microloader.js",
                    "embed": false,
                    "enable": true
                }
            }
        },
    The build process seems to be processing both themes.
    I dunno what all the errors are about.

    Seems like I am explicitly naming the manifest for the production and testing builds, but expecting sencha to generate manifest names per theme.

    But commenting out the microloader.path or the whole microloader config from production has no effect.

    Trying to examine the microloader code is not easy, it has been compressed, I find not hints there.

    What do I expect for extra output when I have configured two builds, one for each theme?

    Code:
    book15:bone steward$ sencha app bu 
    Sencha Cmd v5.1.0.26
    [INF] Processing Build Descriptor : brun
    [INF] Loading app json manifest...
    [INF] Appending content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/bootstrap.js
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/bootstrap.json
    [WRN] C1018: callSuper should only be used in an override (in method onTouchStart) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/gesture/Drag.js:66
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/gesture/Drag.js:25
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/publisher/ElementPaint.js:19
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/publisher/ElementSize.js:18
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.CellModel.doMove) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/CellModel.js:11
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.TreeModel.onKeyLeft) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/TreeModel.js:15
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.TreeModel.onKeyRight) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/TreeModel.js:7
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/sizemonitor/OverflowChange.js:11
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/sizemonitor/Scroll.js:27
    [WRN] C1018: callSuper should only be used in an override (in method destroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/translatable/CssTransform.js:22
    [WRN] C1018: callSuper should only be used in an override (in method destroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/translatable/ScrollPosition.js:91
    [WRN] C1014: callParent has no target (this.callParent in Ext.ux.TabCloseMenu.onBeforeDestroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/ux/TabCloseMenu.js:82
    [WRN] C1014: callParent has no target (this.callParent in Ext.view.BoundListKeyNav.onViewRefresh) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/view/BoundListKeyNav.js:58
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Fill) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Fill.js:17
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Item) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Item.js:4
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Separator) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Separator.js:16
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Spacer) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Spacer.js:26
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.TextItem) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/TextItem.js:15
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Fill) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Item) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Separator) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Spacer) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.TextItem) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [INF] Compressing data with YuiJavascriptCompressor
    [INF] Concatenating output to file /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/app.js
    [INF] merging 705 input resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/resources
    [INF] merged 0 resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/resources
    [INF] merging 0 input resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] merged 0 resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] writing sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] appending sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] appending sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] executing compass using system installed ruby runtime
    unchanged bone-all.scss
    [INF] writing sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/slicer-temp/bone-example.scss.tmp
    [INF] executing compass using system installed ruby runtime
    unchanged bone-example.scss
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/sass/example/bootstrap.json
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/sass/example/bootstrap.js
    [INF] Capturing theme image
    [INF] Capture complete
    [INF] Slicing images...
    [INF] Slicing complete - generated 320 images
    [INF] Copying page resources to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/app.json
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/microloader.js
    [INF] Appending content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/microloader.js
    [INF] Processing Build Descriptor : phone
    [INF] Loading app json manifest...
    [INF] Appending content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/bootstrap.js
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/bootstrap.json
    [WRN] C1018: callSuper should only be used in an override (in method onTouchStart) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/gesture/Drag.js:66
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/gesture/Drag.js:25
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/publisher/ElementPaint.js:19
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/event/publisher/ElementSize.js:18
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.CellModel.doMove) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/CellModel.js:11
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.TreeModel.onKeyLeft) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/TreeModel.js:15
    [WRN] C1014: callParent has no target (this.callParent in Ext.rtl.selection.TreeModel.onKeyRight) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/rtl/selection/TreeModel.js:7
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/sizemonitor/OverflowChange.js:11
    [WRN] C1018: callSuper should only be used in an override (in method constructor) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/sizemonitor/Scroll.js:27
    [WRN] C1018: callSuper should only be used in an override (in method destroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/translatable/CssTransform.js:22
    [WRN] C1018: callSuper should only be used in an override (in method destroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/packages/sencha-core/src/util/translatable/ScrollPosition.js:91
    [WRN] C1014: callParent has no target (this.callParent in Ext.ux.TabCloseMenu.onBeforeDestroy) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/ux/TabCloseMenu.js:82
    [WRN] C1014: callParent has no target (this.callParent in Ext.view.BoundListKeyNav.onViewRefresh) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/view/BoundListKeyNav.js:58
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Fill) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Fill.js:17
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Item) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Item.js:4
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Separator) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Separator.js:16
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Spacer) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Spacer.js:26
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.TextItem) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/TextItem.js:15
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Fill) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Item) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Separator) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.Spacer) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [WRN] C1019: Namespace conflicts with defined class name (Class Ext.Toolbar used as namespace by Ext.Toolbar.TextItem) -- /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/ext/src/toolbar/Toolbar.js:188
    [INF] Compressing data with YuiJavascriptCompressor
    [INF] Concatenating output to file /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/app.js
    [INF] merging 686 input resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/resources
    [INF] merged 3 resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/resources
    [INF] merging 0 input resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] merged 0 resources into /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] writing sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] appending sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] appending sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/sass/bone-all.scss.tmp
    [INF] executing compass using system installed ruby runtime
    overwrite bone-all.css 
    [INF] writing sass content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/temp/production/bone/slicer-temp/bone-example.scss.tmp
    [INF] executing compass using system installed ruby runtime
    overwrite bone-example.css 
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/sass/example/bootstrap.json
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/bone/sass/example/bootstrap.js
    [INF] Capturing theme image
    [INF] Capture complete
    [INF] Slicing images...
    [INF] Slicing complete - generated 320 images
    [INF] Copying page resources to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/app.json
    [INF] Writing content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/microloader.js
    [INF] Appending content to /Users/steward/home/steward/domains/steward.com/public_html/bh/aw/build/production/bone/microloader.js
    
    book15:bone steward$

  2. #2

    Default

    Should have looked harder.

    http://www.sencha.com/forum/showthre...in-single-app/
    http://www.sencha.com/forum/showthre...uild-is-broken
    http://www.sencha.com/forum/showthread.php?295987 (*** BEST ***)

    Some of those almost got me there. BUT IT IS NOT READY FOR RELEASE.

    Hurry up sencha. Please. It seems clear your testing does not include what people are dong in the real world. It's just about urgent that we find a way to get your mammoth codebase into a client.

    There's a new version of Cmd out so I have to start all over again before digging further. Again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •