PDA

View Full Version : all-classes looks okay but app-all is empty



ispypie
20 Feb 2012, 2:41 AM
Hi

I thought I was doing okay my jsb file looked okay and so tried to do the build. The build process completes seemingly okay and I have a largeish all-classes which includes my code and some ext code in it however the app-all file has just the copyright and no code at all.
Anyone experienced this or know what may be the issue. I am on Win7.

TIA

Mark

mitchellsimoens
20 Feb 2012, 5:22 AM
I have not had this issue. Any errors reported?

ispypie
20 Feb 2012, 6:02 AM
Not as far as I can see. Its my first attempt with the sdk.
I get as follows from my console.

Parse app-all.js with options:
-debug: false
-debugLevel: 1
Copy resources...
Done building.

Is there anyway to set debug to true?
I've included all-classes in my html and it seems okay at first glance. What is the second part of the build doing just combining and minifying?

mitchellsimoens
20 Feb 2012, 6:25 AM
app-all.js should have debug false. It is the minified version of all-classes.js

ispypie
20 Feb 2012, 6:28 AM
Ah okay.
I am under a little pressure time wise so may just go with trying to minify all-classes manually for now. Cant see anyone else who seems to have this issue so maybe have to revisit my setup.

extremed
24 Feb 2012, 6:44 AM
having similar problem though

this is the output i see when this command executed


sencha build -p app.jsb3 -d .



Loading the Project Name Project
Loaded 0 Packages
Loaded 2 Builds
* Parse all-classes.js with options:
- debug: true
- debugLevel: 1
* Parse app-all.js with options:
- debug: false
- debugLevel: 1
* Compress and obfuscate app-all.js...
Copy resources...
Done building!


im just trying to build the helloworld example in getting started guide. all-classes.js and app-all.js blank