Threaded View

  1. #1
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,928
    Vote Rating
    63
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      3  

    Default Setting up your Architect Touch projects to be used with SDK Tools v2 beta 3

    Setting up your Architect Touch projects to be used with SDK Tools v2 beta 3


    First let me state that SDK Tools is under rapid development and this means 2 things

    1. You'll be getting a more useful command line build tool that has less bugs
    2. Architect will lag behind a bit in terms of support for SDK Tools so it can stabilize.

    Currently the Package and Simulate (touch only) features in Architect support SDK Tools V2 Beta 2

    Warning: Package doesn't work from Architect with beta 3 the command has changed from sencha package to sencha package build

    With that said I don't suggest you wait to try out the new Beta 3 features of the Tools and so with that in mind here are the steps to make your Architect projects work well with the newest SDK Tools


    Install SDK Tools V2 Beta 3
    http://www.sencha.com/products/sdk-tools/download

    open a fresh command line interface (terminal, iterm, cmd.exe, etc ...)
    Don't try to run it just anywhere as you might now get a node.js error

    Download the Touch 2.x SDK
    http://www.sencha.com/products/touch/download/

    unzip the SDK

    cd into that directory
    running sencha should get you here http://cl.ly/0x1r3r1x3r011V0C2320

    $ sencha app create st2 ../st2
    http://cl.ly/1o0s3k2j1C1u2L3O0e3P

    now we'll take this newly created app directory and harvest some of the good bits

    $ cd ../st2
    $ ls -la
    http://cl.ly/3i3T1u3C0G2N0v2K461L

    note the .senchasdk file

    Now let's pretend we have a project folder created with Architect (touch of course) located at
    ~/Code/citybars/

    cp .senchasdk ~/Code/citybars/
    cp app.json ~/Code/citybars/
    cp -r sdk/ ~/Code/citybars/
    cp -r resources/ ~/Code/citybars/
    cp index.html ~/Code/citybars/

    Now you should be able to cd ~/Code/citybars
    $ ls -la
    http://cl.ly/1l0W0J3k1O1h231I200o

    $ sencha
    should work just fine now with no [WARN]

    Rest assured when SDK Tools stabilize we will be making the integration and improving the experience greatly
    Last edited by Phil.Strong; 7 Sep 2012 at 6:18 AM. Reason: update link
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team
    -->