1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    57
    Answers
    1
    Vote Rating
    2
    Hertz is on a distinguished road

      0  

    Default Unanswered: Change build paths

    Unanswered: Change build paths


    Hi,

    I recently upgraded to Sencha Touch 2.1.1 from Sencha Touch 2.0.1, and I also upgraded from Sencha SDK Tools 2.0 beta to Sencha Command 3.1.0.256.

    With ST 2.0, in the "app.json" file, there was a block of JS where we were able to define the "buildPaths":

    Code:
    "buildPaths": {
    "testing" : "build/www",
    "production" : "build/production",
    "package" : "build/package",
    "native" : "build/native",
    }
    This was very helpful for me because I was able to point the compiler to generate all the code inside a specific directory, which in my case it was the "www" directory of a Phonegap Xcode project.
    So I only needed to use the "sencha app build testing" command and go straight into Xcode to Build & Run on the Simulator.

    In ST 2.1.1, the "app.json" doesn't have this block of code.

    So my question is: ¿Where can I specify custom build paths in ST 2.1.1?.

  2. #2
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    175
    Answers
    23
    Vote Rating
    13
    EPV will become famous soon enough

      0  

    Default


    In your application folder you'll find:

    .sencha/workspace/sencha.cfg

    (May be hidden)

    In that file you'll find this line:

    Code:
    workspace.build.dir=${workspace.dir}/build/${app.name}
    Try experimenting with that. Good luck / E

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    57
    Answers
    1
    Vote Rating
    2
    Hertz is on a distinguished road

      0  

    Default


    Thanks EPV, I'll take a look.

Thread Participants: 1

Tags for this Thread