PDA

View Full Version : Compiled project shows blank screen



extremed
5 Nov 2012, 11:54 PM
Hi

my launch file looks likes this



<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Oms</title>
<link href="ext/resources/css/ext-all-gray.css" rel="stylesheet" type="text/css" />
<link href="template/style_edit.css" rel="stylesheet" type="text/css" />
<link href="template/template_css.css" rel="stylesheet" type="text/css" />
<link href="app/ux/css/statusbar.css" rel="stylesheet" type="text/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> -->

<script type="text/javascript" src="api/configData"></script>
<script type="text/javascript">

var BASE_URL = 'http://192.168.56.101/oms/';

</script>

</head>
<body></body>
</html>


once i compile the project using


sencha compile -classpath=ext/src,app,app/ux page -yui -in index.html -out launch.html

project showing just a blank screen. any idea why that happens? am i compiling it correctly?


Regards

dongryphon
7 Nov 2012, 12:01 AM
The command looks basically correct, though you don't need to list the "app/ux" folder in your classpath since "app" is already present.

What messages do you see in the debugger?

extremed
7 Nov 2012, 12:09 AM
this is the problem

http://www.sencha.com/forum/showthread.php?248179-why-this-viewport-not-showing-after-compile-or-build