Results 1 to 4 of 4

Thread: Sencha Create doesn't set up correct path for Compass Compile

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Sencha Create doesn't set up correct path for Compass Compile

    using Sencha Touch 2.0.1,
    Sencha SDK 2.0.0 Beta 3
    Sencha Command V2.0.2
    Windows XP Prof

    Steps:
    run sencha app create NewProject
    cd to NewProject\Resources
    compass compile

    Error:
    error sass/app.scss (Line 1: File to import not found or unreadable: sencha-
    touch/default/all.
    Load paths:
    C:/xampp/htdocs/TestProject/resources/sass
    C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/blueprint/styles
    heets
    C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.11.7/frameworks/compass/styleshe
    ets
    Compass::SpriteImporter)
    identical stylesheets/app.css

    Debug
    Checked config.rb
    Seems to find sdk\resources\themes\compass_init.rb

    Related Question - two directories both contain app.css
    resources\stylesheets and
    resources\css
    Which is used by application?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    try

    Code:
    cd NewProject\resources\sass
    so you are in the sass directory and then do the compass compile.

    This works for me:

    Code:
    cd /path/to/sencha-touch-2.0.1
    sencha app create MyApp ../MyApp
    cd ../MyApp/resources/sass
    compass compile
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Apr 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Not a bug, my error,
    Many thanks for swift response

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    Quote Originally Posted by charlies123 View Post
    Not a bug, my error,
    Many thanks for swift response
    Glad it's resolved!
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •