Results 1 to 7 of 7

Thread: Global workspace overrides

  1. #1
    Sencha Premium User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    36
    Answers
    1

    Default Global workspace overrides

    Hi there,

    Is there anyway to add global framework overrides for all apps within a workspace?

    The workspace.json file lacks documentation.

    Cheers!

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005
    Answers
    5

    Default

    Hello Karim,

    I have requested that a member of the support team get back with you regarding your question on overrides. Thank you for your patience!

    Michele

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569
    Answers
    7

    Default

    Hello Karim,

    I am sorry but I couldn't understand your requirement, Please provide some more information or an example to assist you in a better way.

    Regards,
    Kumar
    Sencha support.

  4. #4
    Sencha Premium User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    36
    Answers
    1

    Default

    Hi there,

    I have multiple apps that share the ExtJS framework using the workspace feature and a few overrides that I want to include in each app.
    Is there any way to put overrides in the root directory next to packages/ext/etc... and then CMD will include them automatically in each app build?

    My workspace looks like the following:

    Code:
    +
    |- .sencha
    |- apps  
    |   |- app1               ~~
    |   |   | - overrides      |
    |   |- app2                  |
    |   |   | - overrides      |  ----------------------
    |   |- app3                  |                     |
    |   |   | - overrides      |                       | 
    |   |                    ~~                        | 
    |- build                                              |
    |- ext                                         |
    |-workspace.json                                     |    
    | {global overrides} <------------------------------------|

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2013
    Posts
    160
    Answers
    5

    Default

    I don't remember where I found the documentation on this (and I can't seem to find any now like you say) but I have a setup like this.

    At the same level as the workspace.json file I created the folders packages -> common -> overrides. Within overrides I place the classes using subfolders matching the package names for the class.

    I hope this helps.

  6. #6
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569
    Answers
    7

    Default

    Hello Karim,

    Please refer to the below link which should help you with the issue.

    https://www.sencha.com/forum/showthr...evel-overrides

    Regards,
    Kumar
    Sencha Support.

  7. #7
    Sencha Premium User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    36
    Answers
    1

    Default

    @rakumar, I already saw that thread. Thanks..
    @Mark thanks, I ended up by putting all overrides in a package that I include in each app and by requiring it in each app.json.

Posting Permissions

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