1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    0
    srinu9504 is on a distinguished road

      0  

    Default Unanswered: [ERROR] sencha app build production for touch charts?

    Unanswered: [ERROR] sencha app build production for touch charts?


    [ERROR] sencha app build production

    I would like to build a production build, So when I run
    sencha app build production
    LDBTest smocker$ sencha app build production
    [INFO] Deploying your application to codebase/dashboards/ldashboard/war/LDBTest/build/production
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/loading
    [INFO] Resolving your application dependencies...
    [ERROR]

    Instead of having touch-charts.js as separate file, I appended the contents to the end of sencha-touch.js, but that also did not resolve anything.

    Can anyone tell me how to resolve this problem or get more information than just the [ERROR] or why is this happening?
    I am trying to use touch charts 2.0 beta with sencha touch.

    1. Copied touch-charts src from beta 2.0 release to src for touch 2.0
    2. Also copied touch-charts in sdk folder
    2. In app.json, I added touch-charts.js
    "js": [
    {
    "path": "sdk/sencha-touch.js"
    },
    {
    "path": "sdk/touch-charts.js"
    },
    {
    "path": "app.js",
    "update": "delta"
    }
    ],
    3. In app.'s added the following
    Ext.Loader.setConfig({
    enabled: true
    });
    Ext.Loader.setPath({
    'Ext': 'sdk/src'

    });
    4. In index.html, to debug and use cache added the following below
    <scriptid="microloader"type="text/javascript"src="sdk/microloader/development.js"></script>


    <scripttype="text/javascript">
    Ext.Loader.setConfig('disableCaching', false);
    </script>

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,784
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You shouldn't touch the library files. You should use Ext.require to require the chart classes setting up a path for them.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    0
    srinu9504 is on a distinguished road

      0  

    Default


    Can you please be more clear. What do you mean by "You shouldn't touch the library files"?

    I should not be copying the touch chart sdk files into touch sdk files? I wanted to use
    sencha app build production
    so I thought it would be prudent to add the similar chart packages into sencha touch sdk.so the chart api also gets picked up when we run the production script.
    Srini

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,784
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You shouldn't edit sencha-touch.js for example.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi