sebastianwoinar
28 Feb 2012, 11:46 PM
Hello,
I'm trying to assemble my own build.
I created my jsb file with:
sencha create jsb -a index.orig.html -p project.jsb3
and the app-all.js and all-classes.js with:
sencha build -v -c -p project.jsb3 -d ./
But when I open my app which looks adjusted now:
<!DOCTYPE html><html><head>
<title>App</title>
<link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">
<link rel="stylesheet" href="css/styles.css" type="text/css">
<script src="http://192.168.1.106:9999/socket.io/socket.io.js"></script>
<script src="http://192.168.1.106:9999/socket.io/socket.io-sessions.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&v=3&libraries=geometry"></script>
<script type="text/javascript" src="lib/touch/sencha-touch.js"></script>
<script type="text/javascript" src="app-all.js"></script>
<script type="text/javascript" src="app.js"></script>
</head><body></body></html>
I got an error-message because of my required classes:
Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required classes: TouchTest.view.Startscreen.Search, TouchTest.view.Startscreen.Register, TouchTest.view.Startscreen.Login, TouchTest.view.Startscreen.RequestPassword
Shouldn't the sencha sdk tools arrange the order of my classes in the app-all.js, that the required classes are loaded, when necessary? When I remove the requires attribute of my classes in the generated app-all.js, I do not get these error message (but are confronted by other errors *g*).
Is there a new adjusted version of the HowTo "Create your own build" with the SDK Tools 2 beta?
Thanks!
Sebastian
I'm trying to assemble my own build.
I created my jsb file with:
sencha create jsb -a index.orig.html -p project.jsb3
and the app-all.js and all-classes.js with:
sencha build -v -c -p project.jsb3 -d ./
But when I open my app which looks adjusted now:
<!DOCTYPE html><html><head>
<title>App</title>
<link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">
<link rel="stylesheet" href="css/styles.css" type="text/css">
<script src="http://192.168.1.106:9999/socket.io/socket.io.js"></script>
<script src="http://192.168.1.106:9999/socket.io/socket.io-sessions.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&v=3&libraries=geometry"></script>
<script type="text/javascript" src="lib/touch/sencha-touch.js"></script>
<script type="text/javascript" src="app-all.js"></script>
<script type="text/javascript" src="app.js"></script>
</head><body></body></html>
I got an error-message because of my required classes:
Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required classes: TouchTest.view.Startscreen.Search, TouchTest.view.Startscreen.Register, TouchTest.view.Startscreen.Login, TouchTest.view.Startscreen.RequestPassword
Shouldn't the sencha sdk tools arrange the order of my classes in the app-all.js, that the required classes are loaded, when necessary? When I remove the requires attribute of my classes in the generated app-all.js, I do not get these error message (but are confronted by other errors *g*).
Is there a new adjusted version of the HowTo "Create your own build" with the SDK Tools 2 beta?
Thanks!
Sebastian