SplitApp demo developed in eclipse is working fine. When I am trying to migrate the same to Openui5, I am facing problem.
I have changed the bootstrap url to https://openui5.hana.ondemand.com/resources/sap-ui-core.js.
Still the issue persists.
I get the error as below :
2014-06-15 22:26:43 Device API logging initialized - DEVICE sap-ui-core.js:44
2014-06-15 22:26:43 registerResourcePath ('', 'https://openui5.hana.ondemand.com/resources/') - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 URL prefixes set to: - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 (default) : https://openui5.hana.ondemand.com/resources/ - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 registerResourcePath ('view', './view/') - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 registerResourcePath ('model', './model/') - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 registerResourcePath ('app', './app/') - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:43 registerResourcePath ('i18n', './i18n/') - sap.ui.ModuleSystem sap-ui-core.js:80
2014-06-15 22:26:44 registerResourcePath ('model', './model/') - sap.ui.ModuleSystem sap-ui-core.js:80
GET http://myDomain/i18n/i18n_en_US.properties 404 (Not Found) sap-ui-core.js:27
GET http://myDomain/i18n/i18n_en.properties 404 (Not Found) sap-ui-core.js:27
GET http://myDomain/i18n/i18n.properties 404 (Not Found) sap-ui-core.js:27
GET http://myDomain/model/menu.json 404 (Not Found) sap-ui-core.js:27
2014-06-15 22:26:45 The following problem occurred: error -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta name="revisit-after" content="10">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" language="JavaScript"
src="http://cdn.dsultra.com/js/registrar.js"></script>
<script type="text/javascript" language="JavaScript">
registrar_frameset({ a_id: 48873, // edit this to pass your portfolio ID,
drid: 'as-drid-2416478692338427'}); // edit this to pass your Domain Registrant ID
</script>
</head>
</html>,404,Not Found sap-ui-core.js:80
GET http://myDomain/model/coffee.json 404 (Not Found) sap-ui-core.js:27
2014-06-15 22:26:45 The following problem occurred: error - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta name="revisit-after" content="10">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" language="JavaScript"
src="http://cdn.dsultra.com/js/registrar.js"></script>
<script type="text/javascript" language="JavaScript">
registrar_frameset({ a_id: 48873, // edit this to pass your portfolio ID,
drid: 'as-drid-2416478692338427'}); // edit this to pass your Domain Registrant ID
</script>
</head>
</html>,404,Not Found
The error says it is not able to find json models and properties files. Please let me know if I have to maintain configurations at application level.
Please find the openui5 source in the Github and attached image consists the folder structure in eclipse which is used for sapui5.