Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-358 in a recent build.
  1. #1
    Sencha User mono blaine's Avatar
    Join Date
    Jul 2008
    Location
    Turkey
    Posts
    123
    Vote Rating
    7
    mono blaine will become famous soon enough

      1  

    Default [3.1.0.130] Neptune overrides are not applied during development

    [3.1.0.130] Neptune overrides are not applied during development


    [ExtJS-4.2.0.489]

    Generate an app (NeptuneTest) using Sencha Cmd,

    Change NeptuneTest/app/view/Viewport.js a little (tools conf in west panel):

    Code:
    Ext.define('NeptuneTest.view.Viewport', {
        renderTo: Ext.getBody(),
        extend: 'Ext.container.Viewport',
        requires:[
            'Ext.tab.Panel',
            'Ext.layout.container.Border'
        ],
    
        layout: {
            type: 'border'
        },
    
        items: [{
            region: 'west',
            xtype: 'panel',
            title: 'west',
            width: 150,
            // added some tools
            tools : [{
                type : "minimize"
            }, {
                type : "plus"
            }]
        },{
            region: 'center',
            xtype: 'tabpanel',
            items:[{
                title: 'Center Tab 1'
            }]
        }]
    });
    Make the following changes:

    > NeptuneTest\.sencha\app\sencha.cfg

    Code:
    app.theme=ext-theme-neptune
    > NeptuneTest\app.json

    Code:
    {
        "name": "NeptuneTest",
        "requires": [{
            "name": "ext-theme-neptune",
            "version": "4.2.0"
        }]
    }
    > Now execute sencha app refresh and sencha app build commands.

    > Now, bootstrap.css content is updated as:

    Code:
    @import 'build/NeptuneTest/production/resources/NeptuneTest-all.css';
    > View index.html in browser.

    Result: Ext.panel.Tool components look weird (see attachment) because Neptune overrides are not applied although the bootstrap.js file is updated accordingly.

    If we insert the Neptune overrides file manually:

    Code:
    <script src="packages/ext-theme-neptune/build/ext-theme-neptune.js"></script>
    They look normal again. Is this a bug or a behavior by design?
    Attached Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,677
    Vote Rating
    749
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User mono blaine's Avatar
    Join Date
    Jul 2008
    Location
    Turkey
    Posts
    123
    Vote Rating
    7
    mono blaine will become famous soon enough

      0  

    Default


    This has actually already been fixed.

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    42
    Vote Rating
    3
    mbingham is on a distinguished road

      0  

    Default


    I encountered the same with Sencha Ext v4.2.1.883 and Sencha Cmd v3.1.2.342 - it was caused by special comments being absent from /workspace/app.js:

    First put app.overrides=overrides in your /workspace/.sencha/app/sencha.cfg file.

    Then for production, this @require comment causes the app overrides to be pulled into the output of sencha app build.

    Code:
    // DO NOT DELETE - this directive is required for Sencha Cmd packages to work.
    // @require @appOverrides
    Then for development, this thread describes the addition needed to line 405 of Cmd/3.1.2.342/plugins/ext/current/plugin.xml for bootstrap.js to generate correctly:

    Code:
    -tag=appOverrides

  5. #5
    Sencha User
    Join Date
    Mar 2011
    Posts
    126
    Vote Rating
    1
    incutonez is an unknown quantity at this point

      0  

    Default


    @mbingham,

    I realize that's an old post, but where do I put the comment that you have listed... in whatever ext-*.js file I'm using? Does it matter where I put it?

    Also, I'm using a newer Sencha Cmd (4.0.1.45), so the line you referenced doesn't match up. Any tips?

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar