Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Warnings in Eclipse using SAPUI5 template

$
0
0

Hi there,

 

I tried to find out more about SAP NetWeaver Cloud App and HTML5, SAPUI5. So I followed http://scn.sap.com/docs/DOC-28197 to get the license, SDK, ... and installed it.

 

I also wanted to include SAPUI5. After downloading "UI Development Toolkit for HTML5" I unpacked the folder, which also includes some example projects. For testing I imported the project-template "sapui5" to eclipse.

In the Project Explorer I included the SAPUI5-library to the project: right-click on "JavaScript Resources" - Properties, than "Add JavaScript Library" and choose "SAPUI5".

 

But why are there warnings in some files (index.html, sap-ui5.js, sap-ui5-dbg.js) ??

I have to include more - or "define/initialize" the SAPUI5 more??

 

 

Here the example in "index.html":

 

Here are the errors of sap-ui5.js & sap-ui5-dbg.js:

Type mismatch: cannot convert from ___anonymous27652_30419 to ___anonymous27652_30419

Multiple markers at this line

    - The local variable memory may not have been initialized

The local variable firing may not have been initialized

Type mismatch: cannot convert from boolean to any[]

Multiple markers at this line

    - Missing semicolon

 

 

 

Would be nice if someone could help me..

 

Greetings,

Andreas


Viewing all articles
Browse latest Browse all 3285

Trending Articles