Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Location
    Boston, MA
    Posts
    44
    Vote Rating
    3
    chrisfarrell is on a distinguished road

      0  

    Default upgrade command errors

    upgrade command errors


    Hello,
    I have a workspace with an ext app in it. The ext app was generated with Cmd 3 build 141.
    At some point I installed Cmd build 181 and ran 'upgrade'. It completed but overwrote files.
    I was able to replace the files and move on.

    Now, I have installed Cmd build 250, and I have downloaded a licensed version of Ext JS.
    When I run $ sencha app upgrade -path /path/to/extjs (from the app dir), it fails with an error:
    Cannot find ....${framework.config.dir}/plugin.xml (from workspace/plugin.xml)

    So, I hard coded the path in workspace/plugin.xml:
    <project basedir=".">
    <import file="/Users/me/bin/Sencha/Cmd/3.0.0.250/plugins/ext/current/plugin.xml "/>
    </project>

    That got me past that error, but now it throws:
    Failed to resolve dependency Ext.app.Controller for file MyApp.controller.MainDataController

    Leaving me stumped.

    Should I not bother with 'upgrade'?
    What does it do, so I can do it manually?

    Thank you!

  2. #2
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

    Default


    are you building single page application or multiple page application?

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    I havn't used CMD with ExtJs yet. But was experiencing similar things with Touch. Remember that the first versions of CMD3 you were using were still in beta! So things may have changed...

    What I did to fix it in Touch:
    • renamed the old project
    • created a new project with the correct project name
    • then copied over in to the new project the necessary pieces from the old project (app folder, css, resources, etc.)

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2012
    Location
    Boston, MA
    Posts
    44
    Vote Rating
    3
    chrisfarrell is on a distinguished road

      0  

    Default


    kevin.chen,
    I think it would be considered a single page application at this point, but that may change.
    I have the ExtJS application in a workspace so that I can potentially share resources with a Touch application. We haven't done that yet, but it is intended.

    -

    ingo.hefti,
    What's involved with renaming the project?
    Is there more to it than renaming the directory it lives in?

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by chrisfarrell View Post
    What's involved with renaming the project?
    Is there more to it than renaming the directory it lives in?
    Well the name of the app seems to appear in a few different places (files). So this is just to be sure that everything is setup correctly when I have a mixture of the new and my old project. Hope you understood what I tried to explain...

  6. #6
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

    Default


    Do you have your own ant set up? can you run sencha ant .props to see the value of framework.config.dir?

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar