1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    22
    Vote Rating
    0
    sophicworks is on a distinguished road

      0  

    Default erorr on sencha build -p app.jsb3 -d (js wrong path)

    erorr on sencha build -p app.jsb3 -d (js wrong path)


    Hi! I'am trying to create a minified file of my application in ruby on rails (working properly on development) by following the deployment guide in http://docs.sencha.com/extjs/4.0.7/#!/guide/getting_started

    t
    his the folder directory of my application

    project_directory_apollo.png

    so after navigating to my project folder (app > assets > javascript > apollo)
    I run this command sencha create jsb -a http://192.168.1.5/home -p app.jsb3
    and successfully created the app.jsb3 file

    Code:
    {
        "projectName": "Project Name",
        "licenseText": "Copyright(c) 2012 Company Name",
        "builds": [
            {
                "name": "All Classes",
                "target": "all-classes.js",
                "options": {
                    "debug": true
                },
                "files": [
                    {
                        "clsName": "APP.model.User",
                        "name": "User.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Menu",
                        "name": "Menu.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.MenuList",
                        "name": "MenuList.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.UserRole",
                        "name": "UserRole.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Dictionary",
                        "name": "Dictionary.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Movies",
                        "name": "Movies.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.BusinessVenture",
                        "name": "BusinessVenture.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Quicklaunch",
                        "name": "Quicklaunch.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Fundtransfer",
                        "name": "Fundtransfer.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Discount",
                        "name": "Discount.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.model.Theater",
                        "name": "Theater.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "FW.view.QLEdit",
                        "name": "QLEdit.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.view.Quicklaunch",
                        "name": "Quicklaunch.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.view.MyChart",
                        "name": "MyChart.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.common.view.SophicTabItemContainer",
                        "name": "SophicTabItemContainer.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "FW.view.SophicGridList",
                        "name": "SophicGridList.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.common.view.SophicFilter",
                        "name": "SophicFilter.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "FW.common.view.SophicsWindowForm",
                        "name": "SophicsWindowForm.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "FW.common.store.proxy.SophicProxy",
                        "name": "SophicProxy.js",
                        "path": "/assets/sophic/FW/app/common/store/proxy/"
                    },
                    {
                        "clsName": "FW.store.Sophic",
                        "name": "Sophic.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "FW.store.Lookup",
                        "name": "Lookup.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "APP.view.movie.NTCreate",
                        "name": "NTCreate.js",
                        "path": "/assets/apollo/app/view/movie/"
                    },
                    {
                        "clsName": "APP.view.movie.NTEdit",
                        "name": "NTEdit.js",
                        "path": "/assets/apollo/app/view/movie/"
                    },
                    {
                        "clsName": "FW.common.view.SophicTabForm",
                        "name": "SophicTabForm.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "FW.common.view.TabItemsChild",
                        "name": "TabItemsChild.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "APP.store.LookupTheater",
                        "name": "LookupTheater.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.view.fundtransfer.NTShow",
                        "name": "NTShow.js",
                        "path": "/assets/apollo/app/view/fundtransfer/"
                    },
                    {
                        "clsName": "FW.view.NTUserEdit",
                        "name": "NTUserEdit.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "APP.view.fundtransfer.UserPin",
                        "name": "UserPin.js",
                        "path": "/assets/apollo/app/view/fundtransfer/"
                    },
                    {
                        "clsName": "APP.store.LookupBusinessVenture",
                        "name": "LookupBusinessVenture.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.LookupBusinessVentureList",
                        "name": "LookupBusinessVentureList.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.view.advertisement.NTCreate",
                        "name": "NTCreate.js",
                        "path": "/assets/apollo/app/view/advertisement/"
                    },
                    {
                        "clsName": "APP.view.advertisement.NTEdit",
                        "name": "NTEdit.js",
                        "path": "/assets/apollo/app/view/advertisement/"
                    },
                    {
                        "clsName": "APP.view.ticket_validation.TicketValidation",
                        "name": "TicketValidation.js",
                        "path": "/assets/apollo/app/view/ticket_validation/"
                    },
                    {
                        "clsName": "APP.store.UserRole",
                        "name": "UserRole.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "FW.store.proxy.SophicProxy",
                        "name": "SophicProxy.js",
                        "path": "/assets/sophic/FW/app/store/proxy/"
                    },
                    {
                        "clsName": "APP.store.BusinessVenture",
                        "name": "BusinessVenture.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.Movies",
                        "name": "Movies.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.Fundtransfer",
                        "name": "Fundtransfer.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.Discount",
                        "name": "Discount.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.Users",
                        "name": "Users.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.store.Theater",
                        "name": "Theater.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "FW.model.User",
                        "name": "User.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.model.Menu",
                        "name": "Menu.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.model.Quicklaunch",
                        "name": "Quicklaunch.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.model.MenuList",
                        "name": "MenuList.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.view.current_user.CurrentUserEdit",
                        "name": "CurrentUserEdit.js",
                        "path": "/assets/sophic/FW/app/view/current_user/"
                    },
                    {
                        "clsName": "FW.view.upload.UploadFile",
                        "name": "UploadFile.js",
                        "path": "/assets/sophic/FW/app/view/upload/"
                    },
                    {
                        "clsName": "FW.model.Dictionary",
                        "name": "Dictionary.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.view.reports.reportSearchFilter",
                        "name": "reportSearchFilter.js",
                        "path": "/assets/sophic/FW/app/view/reports/"
                    },
                    {
                        "clsName": "FW.model.UserRole",
                        "name": "UserRole.js",
                        "path": "/assets/sophic/FW/app/model/"
                    },
                    {
                        "clsName": "FW.view.reports.BaseTabReport",
                        "name": "BaseTabReport.js",
                        "path": "/assets/sophic/FW/app/view/reports/"
                    },
                    {
                        "clsName": "FW.store.Users",
                        "name": "Users.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "FW.view.Header",
                        "name": "Header.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.store.UserRole",
                        "name": "UserRole.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "FW.store.Dictionary",
                        "name": "Dictionary.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "FW.common.view.SophicGridList",
                        "name": "SophicGridList.js",
                        "path": "/assets/sophic/FW/app/common/view/"
                    },
                    {
                        "clsName": "FW.view.Menu",
                        "name": "Menu.js",
                        "path": "/assets/sophic/FW/app/view/"
                    },
                    {
                        "clsName": "FW.store.LookupKey",
                        "name": "LookupKey.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "FW.view.form.SophicTextfieldCurrency",
                        "name": "SophicTextfieldCurrency.js",
                        "path": "/assets/sophic/FW/app/view/form/"
                    },
                    {
                        "clsName": "APP.model.Advertisement",
                        "name": "Advertisement.js",
                        "path": "/assets/apollo/app/model/"
                    },
                    {
                        "clsName": "APP.view.Viewport",
                        "name": "Viewport.js",
                        "path": "/assets/apollo/app/view/"
                    },
                    {
                        "clsName": "APP.view.Header",
                        "name": "Header.js",
                        "path": "/assets/apollo/app/view/"
                    },
                    {
                        "clsName": "APP.view.Menu",
                        "name": "Menu.js",
                        "path": "/assets/apollo/app/view/"
                    },
                    {
                        "clsName": "APP.view.movie.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/movie/"
                    },
                    {
                        "clsName": "APP.view.fundtransfer.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/fundtransfer/"
                    },
                    {
                        "clsName": "APP.view.fundtransfer.NTCreate",
                        "name": "NTCreate.js",
                        "path": "/assets/apollo/app/view/fundtransfer/"
                    },
                    {
                        "clsName": "APP.view.business_ventures.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/business_ventures/"
                    },
                    {
                        "clsName": "APP.view.reports.cash_position.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/cash_position/"
                    },
                    {
                        "clsName": "APP.view.reports.cash_sales.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/cash_sales/"
                    },
                    {
                        "clsName": "APP.view.reports.sales_report_timeslot.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/sales_report_timeslot/"
                    },
                    {
                        "clsName": "APP.view.reports.sales_report_recap.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/sales_report_recap/"
                    },
                    {
                        "clsName": "APP.view.discount.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/discount/"
                    },
                    {
                        "clsName": "APP.view.theater.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/theater/"
                    },
                    {
                        "clsName": "APP.view.reports.cash_flow.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/cash_flow/"
                    },
                    {
                        "clsName": "APP.view.reports.tellers_accountability_report.Report",
                        "name": "Report.js",
                        "path": "/assets/apollo/app/view/reports/tellers_accountability_report/"
                    },
                    {
                        "clsName": "FW.store.Quicklaunch",
                        "name": "Quicklaunch.js",
                        "path": "/assets/sophic/FW/app/store/"
                    },
                    {
                        "clsName": "APP.store.Advertisement",
                        "name": "Advertisement.js",
                        "path": "/assets/apollo/app/store/"
                    },
                    {
                        "clsName": "APP.view.advertisement.List",
                        "name": "List.js",
                        "path": "/assets/apollo/app/view/advertisement/"
                    },
                    {
                        "clsName": "APP.controller.Main",
                        "name": "Main.js",
                        "path": "/assets/apollo/app/controller/"
                    },
                    {
                        "clsName": "FW.view.dictionary.List",
                        "name": "List.js",
                        "path": "/assets/sophic/FW/app/view/dictionary/"
                    },
                    {
                        "clsName": "FW.view.user.List",
                        "name": "List.js",
                        "path": "/assets/sophic/FW/app/view/user/"
                    },
                    {
                        "clsName": "FW.view.user_role.List",
                        "name": "List.js",
                        "path": "/assets/sophic/FW/app/view/user_role/"
                    },
                    {
                        "clsName": "FW.controller.Main",
                        "name": "Main.js",
                        "path": "/assets/sophic/FW/app/controller/"
                    }
                ]
            },
            {
                "name": "Application - Production",
                "target": "app-all.js",
                "compress": true,
                "files": [
                    {
                        "path": "",
                        "name": "all-classes.js"
                    },
                    {
                        "path": "",
                        "name": "app.js"
                    }
                ]
            }
        ],
        "resources": []
    }
    now the problem is when I run the secha command that will create app-all.js and class-all.js (sencha build -p app.jsb3 -d) it gives me this kind of error...

    running_sencha_build_command.png

    can anyone help me how to fix this or the path? I have marked what is wrong with the path,
    it should be (e.g. Y:\app\assets\apollo\app\store\Users.js and Y:\app\assets\sophic\FW\ap\view\Header.js (for framework .js file)).

    Any help would be greatly appreciated, Thanks!
    Best Regards,
    Mark



  2. #2
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    22
    Vote Rating
    0
    sophicworks is on a distinguished road

      0  

    Default


    Anyone?

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    22
    Vote Rating
    0
    sophicworks is on a distinguished road

      0  

    Default


    ...