Hi,
I am having problems trying to minify our app using sencha cmd. I am following Single Page extJS app tutorial on sencha website. Our app is based on extJS 4.2.x and hence I am using sencha cmd instead of sencha SDK tools to minify the app. When i run the following command, default.html is generated in build folder but it is not complete.
sencha - sdk ext compile - classpath= js page - yui - in default.html- out build/default.html
The output from command window is like this:
Sencha Cmd v4.0.2.67
[INF] Compiling page default.html
[INF] writing html file output to C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\buil
d\default.html
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\ext\src
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\js
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\sencha-c
ompile-temp-dir\e06e3bbc-141a-430b-ac24-2519057a6d88
[INF] Compressing data with YuiJavascriptCompressor
[INF] Concatenating output to file C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\bui
ld\all-classes.js
So it seems that all went fine but the default.html file looks like this:
<!DOCTYPE html>
<!-- Auto Generated with Sencha Architect -->
<!-- Modifications to this file will be overwritten. -->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Some Title</title>
By design the directory structure of our app is such that we dont have all the source directly in js directory. What i have done is copied all source code directories inside js directory. So js has many other nested directories which have js source files in them. Can you tell what is wrong here?
Thanks.
I am having problems trying to minify our app using sencha cmd. I am following Single Page extJS app tutorial on sencha website. Our app is based on extJS 4.2.x and hence I am using sencha cmd instead of sencha SDK tools to minify the app. When i run the following command, default.html is generated in build folder but it is not complete.
sencha - sdk ext compile - classpath= js page - yui - in default.html- out build/default.html
The output from command window is like this:
Sencha Cmd v4.0.2.67
[INF] Compiling page default.html
[INF] writing html file output to C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\buil
d\default.html
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\ext\src
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\js
[INF] Loading classpath entry C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\sencha-c
ompile-temp-dir\e06e3bbc-141a-430b-ac24-2519057a6d88
[INF] Compressing data with YuiJavascriptCompressor
[INF] Concatenating output to file C:\iqsrc\pg\src\ui\WebConsole\AegisWebApp\bui
ld\all-classes.js
So it seems that all went fine but the default.html file looks like this:
<!DOCTYPE html>
<!-- Auto Generated with Sencha Architect -->
<!-- Modifications to this file will be overwritten. -->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Some Title</title>
By design the directory structure of our app is such that we dont have all the source directly in js directory. What i have done is copied all source code directories inside js directory. So js has many other nested directories which have js source files in them. Can you tell what is wrong here?
Thanks.
Aucun commentaire:
Enregistrer un commentaire