1. #1
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default ExtJS 4.2 build with Grid

    ExtJS 4.2 build with Grid


    I'm unable to use Cmd to compile any projects that included certain components like Grid.

    I've created a small test project with:
    ViewPort
    - Panel
    - - Grid

    When running the compiled app I always get this error in the console:
    Uncaught Error: [Ext.Loader] Failed loading 'http://localhost/.../testproject/src/grid/plugin/BufferedRendererTreeView.js', please verify that the file exists - all-classes.js:11136

    ExtJs 4.2.0.449, Cmd 3.0.2.288.



    Cmd command:
    Code:
    sencha compile -classpath=app.js,app,ext/src page -in=index.html -out=index-compiled.html
    complete view (SA 2.2 generated):
    Code:
    Ext.define('MyApp.view.MyViewport', {
        extend: 'Ext.container.Viewport',
    
        requires: [
            'Ext.grid.Panel',
            'Ext.grid.column.Number',
            'Ext.grid.column.Date',
            'Ext.grid.column.Boolean'
        ],
    
        layout: {
            type: 'fit'
        },
    
        initComponent: function() {
            var me = this;
    
            Ext.applyIf(me, {
                items: [
                    {
                        xtype: 'panel',
                        title: 'test',
                        items: [
                            {
                                xtype: 'gridpanel',
                                title: 'My Grid Panel',
                                columns: [
                                    {
                                        xtype: 'gridcolumn',
                                        dataIndex: 'string',
                                        text: 'String'
                                    },
                                    {
                                        xtype: 'numbercolumn',
                                        dataIndex: 'number',
                                        text: 'Number'
                                    },
                                    {
                                        xtype: 'datecolumn',
                                        dataIndex: 'date',
                                        text: 'Date'
                                    },
                                    {
                                        xtype: 'booleancolumn',
                                        dataIndex: 'bool',
                                        text: 'Boolean'
                                    }
                                ]
                            }
                        ]
                    }
                ]
            });
    
            me.callParent(arguments);
        }
    
    });
    Just for fun I've tried to add Ext.grid.plugin.BufferedRendererTreeView to the requires list of the View, but the result is that an error is added to the console:
    Uncaught Error: [Ext.Loader] Failed loading 'MyApp/view/MyViewport.js', please verify that the file exists.

    MyApp.view.MyViewport is still defined in all-classes, on line 85232.

    My real project gives a few more error messages like, missing: "proxy/rest.js" and "http://localhost/..ProjectDeploy/src/data/proxy/SessionStorage.js"
    (notice the difference in URL structure on the errors).

    Removing the grid for the test-project gives a successful compile.

    Have anyone compiled a Ext 4.2 project with a grid?
    Sven Tore Iversen

  2. #2
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    Still got the same problem with Ext JS 4.2 RC and Cmd 3.1 beta
    Sven Tore Iversen

  3. #3
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    Still a problem with nightly 2013-02-21

    Is anyone able to build with Ext 4.2?
    Sven Tore Iversen

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
    stabacov is on a distinguished road

      0  

    Default


    Same problem here.

    To avoid, I wrote at build.xml:
    Code:
      <target name="-after-build">
        <copy todir="${build.dir}/src">
          <fileset dir="${app.dir}/ext/src" includes="grid/plugin/BufferedRendererTreeView.js" />
        </copy>
      </target>
    It isn't a good solution, but work.

  5. #5
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    At least it's a good workaround Thanks
    Sven Tore Iversen

  6. #6
    Ext JS Premium Member
    Join Date
    Apr 2009
    Posts
    65
    Vote Rating
    1
    kevhender is on a distinguished road

      0  

    Default


    Hey Sencha folks, are you guys gonna give this one a look? Seems pretty silly that people with Grids in their apps can't do a build! This is still an issue for us in 4.2 GA.

  7. #7
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    This is resolved in GA
    Sven Tore Iversen

  8. #8
    Sencha User
    Join Date
    Mar 2011
    Location
    Pune, India
    Posts
    9
    Vote Rating
    0
    snehalv is on a distinguished road

      0  

    Default


    We are still getting the same error. It seems it has not been resolved in the GA release. Can we please get help on this.

  9. #9
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    547
    Vote Rating
    23
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    I not longer have this problem in GA when building with the latest cmd.
    Have you updated cmd, and updated the project to just ga?
    Sven Tore Iversen

  10. #10
    Sencha User
    Join Date
    Mar 2011
    Location
    Pune, India
    Posts
    9
    Vote Rating
    0
    snehalv is on a distinguished road

      0  

    Default


    I was using Sencha Cmd 3.0. Just found out that 4.2 requires Sencha Cmd v3.1 RC2.
    Thanx for the info. I'll try out if the latest cmd solves the problem.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."