Threaded View
-
16 Oct 2012 1:32 AM #1
[3.0.0.201] Fails generating checksum for appCache item
[3.0.0.201] Fails generating checksum for appCache item
I have a png file added to the app.json appCache object:
This worked in previous sencha cmd versions, but now it throws an error:Code:"appCache": { /** * List of items in the CACHE MANIFEST section */ "cache": [ "index.html", "images/my-image.png" ],
Removing the image from the app.json file allows the build process to run without errors.Code:[DEBUG] generating new built index.html [INFO ] Embedded microloader into index.html [INFO ] Generating appcache [INFO ] Generating checksum for appCache item: index.html [INFO ] Generating checksum for appCache item: images/my-image.png [ERROR] BUILD FAILED [ERROR] com.sencha.exceptions.BasicException: The following error occurred while executing this line: [ERROR] /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619 [ERROR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
(I'm using ST 2.1 RC2)Owner of 360releases Ltd. - Sencha Touch & Ext JS consulting
twitter.com/steffenhiller
extjswithrails.com, senchatouchbits.com
Success! Looks like we've fixed this one. According to our records the fix was applied for
SDKTOOLS-222
in
3.0.1.


Reply With Quote