1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    socky is on a distinguished road

      0  

    Default Touch packaging

    Touch packaging


    Hello everybody,
    While starting a new phonegap mobile project with touch 2.0-pr3, I noticed that the js and css files aren't enough now for sencha touch to work. I get very strange :

    Code:
    Syntax error: File to import not found or unreadable: sencha-touch/default/all.
          Load paths:
                /Users/jamieavins/git/SDK/touch/resources/sass
                /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/blueprint/stylesheets
                /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets
                Compass::SpriteImporter
        on line 20 of /Users/jamieavins/git/SDK/touch/resources/sass/android.scss
    Is there a list of the required files somewhere or must I really put the whole sencha touch folder in my packaged app? Unfortunately I can't use the sencha packing tool as I don't have access to an mac machine, so I use a custom minification/compression/packaging system.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    872
    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


    To use Sencha Touch, all you need is the CSS file and the JS file. It seems like you are trying to compile your own SASS file?
    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
    Nov 2011
    Posts
    7
    Vote Rating
    0
    socky is on a distinguished road

      0  

    Default


    I'm sorry, my bad, I imported the stylesheet file oh dear I'm getting too old...

Thread Participants: 1