1. #1
    Touch Premium Member
    Join Date
    Mar 2012
    Posts
    71
    Vote Rating
    0
    harrypottar is on a distinguished road

      0  

    Default Newbe help with first build

    Newbe help with first build


    I completed my first application conversion from Flex to Exjs. All working great

    I now want to build a production version

    I'm using Aptana on OSX with XAMPP Control.

    All code in MVC structure

    I run the following (app names have been changed to protect the innocent)

    Code:
    sencha create jsb -a http://localhost/myfirstapp/index.html -p /Applications/XAMPP/xamppfiles/htdocs/myfirstapp/app.jsb3
    This produces the jb3 files but there are no classes inside.


    Code:
    {
        "projectName": "Project Name",
        "licenseText": "Copyright(c) 2011 Company Name",
        "builds": [
            {
                "name": "All Classes",
                "target": "all-classes.js",
                "options": {
                    "debug": true
                },
                "files": []
            },
            {
                "name": "Application - Production",
                "target": "app-all.js",
                "compress": true,
                "files": [
                    {
                        "path": "",
                        "name": "all-classes.js"
                    },
                    {
                        "path": "",
                        "name": "app.js"
                    }
                ]
            }
        ],
        "resources": []
    }


    So when I build all I get the is the same content as the app js file. Confused.

    TIA
    Harry

  2. #2
    Touch Premium Member
    Join Date
    Mar 2012
    Posts
    71
    Vote Rating
    0
    harrypottar is on a distinguished road

      0  

    Default


    I figured it out I had to change the extjs library call in the index page