PDA

View Full Version : [SDKTools 1.1] Empty app-all.js on Win7 32bit - JRE6.0.250 (fix included)



bas_tzx
23 May 2011, 6:52 AM
OS: Windows 7 32bit - Java runtime 6.0.250.

Problem:

After succesfully generating an .jsb3 file, the SDK tool generates an empty app-all.js file when using the "sencha build -p app.jsb3 -d ." command.

Fix:


// In file SenchaSDKTools-1.1\jsbuilder\src\Project.js
// Replace line 153:

command = this.getCompressor() + '-o ' + destination + ' ' + source;

// with:

command = this.getCompressor() + ' "' + source + '" -o "' + destination + '"';


Is it possible to have the YUI compressor script also output the debugging information when the verbose (-v) option is used?

DiscoBoy
1 Jun 2011, 4:17 AM
You probably have a similar/same problem as me with the SDK!
http://www.sencha.com/forum/showthread.php?133065-SDK-Tools-only-building-all-classes.js-from-Ext.-Not-from-any-of-my-app-s-code.&p=608590&viewfull=1#post608590