Sencha Cmd v3.0.0.141 Build Process
SDK: ExtJS 4.1.1a
Platform: Windows x64
I make it through the entire build process executing the following command:
My pre-build index.html looks like so:
HTML Code:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>metrics_cmd_extjs</title>
<link rel="stylesheet" href="resources/css/default/app.css">
<link rel="stylesheet" href="resources/css/default/metrics.css">
<link rel="stylesheet" type="text/css" href="ext/examples/ux/css/CheckHeader.css">
<!-- <x-compile> -->
<!-- <x-bootstrap> -->
<script src="ext/ext-debug.js"></script>
<script src="bootstrap.js"></script>
<!-- </x-bootstrap> -->
<script src="app/app.js"></script>
<!-- </x-compile> -->
</head>
<body>
<div id="logo"></div>
<div id="loadingapp">Please wait...</div>
</body>
</html>
My build index.html looks like this:
HTML Code:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>metrics_cmd_extjs</title>
<link rel="stylesheet" href="resources/css/default/app.css">
<link rel="stylesheet" href="resources/css/default/metrics.css">
<script type="text/javascript" src="all-classes.js"></script>
</head>
<body>
<div id="logo"></div>
<div id="loadingapp">Please wait...</div>
</body>
</html>
I receive the following error in Chrome:
Quote:
Uncaught TypeError: Cannot call method 'define' of undefined
Obviously the error is happening in the [build] produced file "all-classes.js"
HTML Code:
Ext.define("Ext.data.ResultSet"......
It seems to me there is a file not being included in my build index.html that defines Ext. Am I missing something here?