PDA

View Full Version : Touch packaging



socky
5 Jan 2012, 2:50 AM
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 :


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.

mitchellsimoens
5 Jan 2012, 8:21 AM
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?

socky
5 Jan 2012, 8:43 AM
I'm sorry, my bad, I imported the stylesheet file:"> oh dear I'm getting too old...