Results 1 to 2 of 2

Thread: Mixin extjs-tab-panel-ui missing while compiling js without ext framework

  1. #1
    Sencha User
    Join Date
    Jul 2015
    Posts
    1

    Default Mixin extjs-tab-panel-ui missing while compiling js without ext framework

    Hi,

    I'm trying to compile all javascript code from my app in multiple files :
    1. One file for all extjs framework
    2. One file for the base of the application
    3. (later) one file for each module, to be able to fetch them dynamically.

    To realize the first two steps, I've updated my build.xml file with this content :

    Code:
    <target name="-before-init-local">
      <property name="build.operations">
        include
          -a
          and
        save
          all
          and
        exclude
          -namespace=MyApp
          and
        concat
          -st
          -y
          test/ext-all.js
          and
        restore
          all
          and
        exclude
          -namespace=Ext
          and
        concat
          -st
          test/MyApp.js
      </property>
    </target>
    Unfortunatly, when launching "sencha app build", I got this error :

    Code:
    [LOG] Building ..\..\..\..\build\temp\production\MyApp\sass\MyApp-all.scss
    [ERR] unknown definition for mixin named extjs-tab-panel-ui : http://localhost:1841/applications/frontend/classic/sass/src/view/main/Main.scss:4
    [ERR] unknown definition for mixin named extjs-panel-ui : http://localhost:1841/applications/frontend/classic/sass/src/view/main/Main.scss:43
    [LOG] Build error for ..\..\..\..\build\temp\production\MyApp\sass\MyApp-all.scss

    I tried to add "and include -class=Ext.tab.Panel", but it doesn't seems to change a thing, I still have the same errors.

    I'm not sure why it complains about SASS when the thing I change are related to JS and not SASS.'

    Any ideas ?

    Best regards.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409

    Default

    What versions of Cmd and Ext are you using?
    Do you see this issue only when you customize your build?

    Perhaps something like this?

    Code:
    <target name="-after-build">
        <x-sencha-command>
            compile
                union
                    --recursive
                    --namespace=MyApp
                and
                save
                    all
                and
                union
                    --namespace=MyApp
                and
                save
                    app
                and
                concat
                    --yui
                    --out=${build.dir}/app.js
                and
                restore
                    all
                and
                exclude
                    --set=app
                and
                concat
                    --yui
                    --out=${build.dir}/app-ext.js
        </x-sencha-command>
    </target>
    Regards,
    Scott.

Similar Threads

  1. Replies: 4
    Last Post: 28 May 2015, 9:59 AM
  2. [INFOREQ] Panel list missing Ext.mixin.Selectable on occasion
    By crsssl in forum Sencha Touch 2.x: Bugs
    Replies: 9
    Last Post: 7 Dec 2012, 4:37 PM
  3. [CLOSED-EXTJSIV-2003][4.0.1] x-btn mixin missing
    By Stanback in forum Ext:Bugs
    Replies: 2
    Last Post: 20 May 2011, 10:46 AM

Tags for this Thread

Posting Permissions

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