Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic...

25
8/9/2019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5 http://slidepdf.com/reader/full/http-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1/25 G e tt in g S ta r te d N e ws l e t er s S to re Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of B usiness Un iversity Alliances Events & Webinars Innovation L og On Join Us Hi, Guest Search the Community Activity Communications Actions Browse More blog posts in UI Development Toolkit for HTML5 Developer Center UI Developm ent Toolkit for HTML5 Developer Center 10 Tweet 30 It's all about Java Step 1: Install Java Develop ment Kit (JDK) Step 2: Set Up Environment Variables Step 3: Install Eclipse Step 4: Install a Jav a Web Server Step 5: Add Web S erver to Eclipse Step 6: Install SAPUI5 Plugin Step 7: Run your Project Some useful hints 1. Deployment and Tomcat Server Mode 2. Browsers It's all about Java How to in s tall a basic developm ent environment for SAPUI5 Posted by Michael Herzog in UI Development Toolkit for HTML5 Developer Center on Jun 1, 2013 3:08:55 PM Share Share 14 13 Like Like Register Login to follow, like, comment, share and bookmark content. Login Actions Actions By author: Filter Blog Filter Blog Easily create high quality PDFs from your web pages get a bu siness license!

Transcript of Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic...

Page 1: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 125

Getting Started Newsletters Store

Products Services amp Support About SCN Downloads

Industries Training amp Education Partnership Developer Center

Lines of B usiness Un iversity Alliances Events amp Webinars Innovation

Log On Join UsHi Guest Search the Community

Activity Communications Actions

Browse

More blog posts in UI Development Toolkit for HTML5 Developer Center

UI Developm ent Toolkit for HTML5 Developer Center

10 Tweet 30

Its all about Java

Step 1 Install Java Develop ment Kit (JDK)

Step 2 Set Up Environment Variables

Step 3 Install Eclipse

Step 4 Install a Jav a Web Server

Step 5 Add Web S erver to Eclipse

Step 6 Install SAPUI5 Plugin

Step 7 Run your Project

Some useful hints

1 Deployment and Tomcat Server Mode

2 Browsers

Its all about Java

How to in s tall a basic developm ent environment for SAPUI5

Posted by Michael Herzog in UI Development Toolkit for HTML5 Develope r Center on Jun 1 2013 30855PM

ShareShare 14 13LikeLike

Register

Login to follow like comment share andbookmark content

Login

ActionsActions

By a uthor

Filter BlogFilter Blog

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 225

Easily create high quality PDFs from your web pages get

I want to show you how you create your own development environment for SAPUI5 You will see that we are going touse some great tools which are normally kno wn from Java-Development I will use Windows 7 as operating system Step 1 Install Java Development Kit (JDK)

The JDK is the Java package for develope rs which includes a complete Java Runtime plu s tools for developingdebuggin g and monitoring Java app lications You can download the latest version from this site After the do wnloadhas finished run the installer

Step 2 Set Up Environment Variables

After the installation of your JDK its important to create a new environment variable called JAVA_HOME Todo this open your Run window in Windows and type in control sysdmcpl On the Advanced tab clickEnvironment Variables Then create a new System variable called JAVA_HOME The value of this should bethe path to your JDK

After that you have to ad d this variab le to the existing PATH-Variabl e with JAVA_HOME

Finally when you open your command prompt following command should work java -version

By date

By tag

developer_center fiori frontend html5 innovation

javascript json mobile odata openui5 sap_ui5

sapui5 ui5 user_interfaceuser_interface_technology

Accessing HANA XS OData in Web IDE and b eyond

LESS within SAPUI5HTML5

Embedding a custom CSS style class to a SAPUI5control

Quickly tinker around with SAPUI5 examples

Build amp Versioning SAPUI5 Application in Maven

SAP WebIDE feedback

splitApp with Routing Mechanism

Why my formatter does not work A trouble shootingexample to know how it works

Setting up Virus scan profile SCETGUI_UPLOAD for Gateway

How to add the Fiori Unified Shell

Recent PostsRecent Posts

Incoming LinksIncoming Links

Re Need Installation Guide

Re SAPUI5 eval vs demokit vs licensed vsopenui5

sapuicore library

Re Accessing a SapUI5 mobile app lication inmobile phones

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 325

This basic configuration is very important for Java-tools like your web server To check your en vironment variablesquickly you can open your console and run the SET command which displays all en vironment variables of your system Step 3 Install Eclipse Go to this site and downlo ad the latest version of Eclipse IDE for Java EE De velopers Extract the zip-file to adirectory of your choice (for example CProgram Fileseclipse) When you start eclipse you have to choo se aworkspace This is a specific folder where eclipse stores your projects

Step 4 Install a Java Web Server You will need a Java Web Server (also known as Servlet-Container) when you want to deploy and ru n your applications I recommend the Apache Tomcat but the Jetty Server for example is also a good op tion Download thecurrent tomcat from the down load section of the official site Extract all files in a directory for example CProgramFilesapache tomcat To test your configurations go to the bin folder and try to run the startup b atchfile to start server-mode When everything is fine you should see a win dow like this

If your server has problems to start you should check your environment variable s (especially JAVA_HOME and PATH)and your ja va installation You can shutdown your server with the shutdown batchfile Step 5 Add Web Server to Eclipse

Re Need help in Installing SAPUI5

Re SAPUI5 Eclipse toolkit - how to set fixed port

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 425

If you want to deploy applications directly from your eclipse you have create a new server instance in your IDE OpenEclipse go to File - New - Others and choose Server In the ne xt window choose Apache Tomcat (with correctversion) as server type and type in following information

After that click finish When you now ope n your Serve r-View (Windo w - Show View - Serve r) you should see yo ur new instance When you right-click on this entry you can e asily start and stop your server and do some configurationstuff

Step 6 Install SAPUI5 Plugin Go to your eclipse under Help - Install New Software Paste one o f the following URLs in the Work with input fieldto get a list of available do wnloads options You can find a list of all update-site URLs on the following site

httpstoolshanaondemandcomkepler for Eclipse Kepler (43) and Luna (44)

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 525

httpstoolshanaondemandcomjuno for Eclipse Juno (42)

Select the entry UI development toolkit for HTML5 and finish the wizard Restart eclipse after you complete theinstallation Then go to File - New - Others and type in the Wizard SAP You should see this (sry for thegerman text)

When you choose Application Project and complete the wizard you should have a ba sic SAPUI5-project and someinitial files in your eclipse The following picture shows the entry in the project explorer If your project isnt displayedcorrectly in this view you maybe ha ve to change the perspective under Window - Open Perspective - Java EE

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 2: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 225

Easily create high quality PDFs from your web pages get

I want to show you how you create your own development environment for SAPUI5 You will see that we are going touse some great tools which are normally kno wn from Java-Development I will use Windows 7 as operating system Step 1 Install Java Development Kit (JDK)

The JDK is the Java package for develope rs which includes a complete Java Runtime plu s tools for developingdebuggin g and monitoring Java app lications You can download the latest version from this site After the do wnloadhas finished run the installer

Step 2 Set Up Environment Variables

After the installation of your JDK its important to create a new environment variable called JAVA_HOME Todo this open your Run window in Windows and type in control sysdmcpl On the Advanced tab clickEnvironment Variables Then create a new System variable called JAVA_HOME The value of this should bethe path to your JDK

After that you have to ad d this variab le to the existing PATH-Variabl e with JAVA_HOME

Finally when you open your command prompt following command should work java -version

By date

By tag

developer_center fiori frontend html5 innovation

javascript json mobile odata openui5 sap_ui5

sapui5 ui5 user_interfaceuser_interface_technology

Accessing HANA XS OData in Web IDE and b eyond

LESS within SAPUI5HTML5

Embedding a custom CSS style class to a SAPUI5control

Quickly tinker around with SAPUI5 examples

Build amp Versioning SAPUI5 Application in Maven

SAP WebIDE feedback

splitApp with Routing Mechanism

Why my formatter does not work A trouble shootingexample to know how it works

Setting up Virus scan profile SCETGUI_UPLOAD for Gateway

How to add the Fiori Unified Shell

Recent PostsRecent Posts

Incoming LinksIncoming Links

Re Need Installation Guide

Re SAPUI5 eval vs demokit vs licensed vsopenui5

sapuicore library

Re Accessing a SapUI5 mobile app lication inmobile phones

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 325

This basic configuration is very important for Java-tools like your web server To check your en vironment variablesquickly you can open your console and run the SET command which displays all en vironment variables of your system Step 3 Install Eclipse Go to this site and downlo ad the latest version of Eclipse IDE for Java EE De velopers Extract the zip-file to adirectory of your choice (for example CProgram Fileseclipse) When you start eclipse you have to choo se aworkspace This is a specific folder where eclipse stores your projects

Step 4 Install a Java Web Server You will need a Java Web Server (also known as Servlet-Container) when you want to deploy and ru n your applications I recommend the Apache Tomcat but the Jetty Server for example is also a good op tion Download thecurrent tomcat from the down load section of the official site Extract all files in a directory for example CProgramFilesapache tomcat To test your configurations go to the bin folder and try to run the startup b atchfile to start server-mode When everything is fine you should see a win dow like this

If your server has problems to start you should check your environment variable s (especially JAVA_HOME and PATH)and your ja va installation You can shutdown your server with the shutdown batchfile Step 5 Add Web Server to Eclipse

Re Need help in Installing SAPUI5

Re SAPUI5 Eclipse toolkit - how to set fixed port

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 425

If you want to deploy applications directly from your eclipse you have create a new server instance in your IDE OpenEclipse go to File - New - Others and choose Server In the ne xt window choose Apache Tomcat (with correctversion) as server type and type in following information

After that click finish When you now ope n your Serve r-View (Windo w - Show View - Serve r) you should see yo ur new instance When you right-click on this entry you can e asily start and stop your server and do some configurationstuff

Step 6 Install SAPUI5 Plugin Go to your eclipse under Help - Install New Software Paste one o f the following URLs in the Work with input fieldto get a list of available do wnloads options You can find a list of all update-site URLs on the following site

httpstoolshanaondemandcomkepler for Eclipse Kepler (43) and Luna (44)

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 525

httpstoolshanaondemandcomjuno for Eclipse Juno (42)

Select the entry UI development toolkit for HTML5 and finish the wizard Restart eclipse after you complete theinstallation Then go to File - New - Others and type in the Wizard SAP You should see this (sry for thegerman text)

When you choose Application Project and complete the wizard you should have a ba sic SAPUI5-project and someinitial files in your eclipse The following picture shows the entry in the project explorer If your project isnt displayedcorrectly in this view you maybe ha ve to change the perspective under Window - Open Perspective - Java EE

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 3: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 325

This basic configuration is very important for Java-tools like your web server To check your en vironment variablesquickly you can open your console and run the SET command which displays all en vironment variables of your system Step 3 Install Eclipse Go to this site and downlo ad the latest version of Eclipse IDE for Java EE De velopers Extract the zip-file to adirectory of your choice (for example CProgram Fileseclipse) When you start eclipse you have to choo se aworkspace This is a specific folder where eclipse stores your projects

Step 4 Install a Java Web Server You will need a Java Web Server (also known as Servlet-Container) when you want to deploy and ru n your applications I recommend the Apache Tomcat but the Jetty Server for example is also a good op tion Download thecurrent tomcat from the down load section of the official site Extract all files in a directory for example CProgramFilesapache tomcat To test your configurations go to the bin folder and try to run the startup b atchfile to start server-mode When everything is fine you should see a win dow like this

If your server has problems to start you should check your environment variable s (especially JAVA_HOME and PATH)and your ja va installation You can shutdown your server with the shutdown batchfile Step 5 Add Web Server to Eclipse

Re Need help in Installing SAPUI5

Re SAPUI5 Eclipse toolkit - how to set fixed port

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 425

If you want to deploy applications directly from your eclipse you have create a new server instance in your IDE OpenEclipse go to File - New - Others and choose Server In the ne xt window choose Apache Tomcat (with correctversion) as server type and type in following information

After that click finish When you now ope n your Serve r-View (Windo w - Show View - Serve r) you should see yo ur new instance When you right-click on this entry you can e asily start and stop your server and do some configurationstuff

Step 6 Install SAPUI5 Plugin Go to your eclipse under Help - Install New Software Paste one o f the following URLs in the Work with input fieldto get a list of available do wnloads options You can find a list of all update-site URLs on the following site

httpstoolshanaondemandcomkepler for Eclipse Kepler (43) and Luna (44)

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 525

httpstoolshanaondemandcomjuno for Eclipse Juno (42)

Select the entry UI development toolkit for HTML5 and finish the wizard Restart eclipse after you complete theinstallation Then go to File - New - Others and type in the Wizard SAP You should see this (sry for thegerman text)

When you choose Application Project and complete the wizard you should have a ba sic SAPUI5-project and someinitial files in your eclipse The following picture shows the entry in the project explorer If your project isnt displayedcorrectly in this view you maybe ha ve to change the perspective under Window - Open Perspective - Java EE

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 4: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 425

If you want to deploy applications directly from your eclipse you have create a new server instance in your IDE OpenEclipse go to File - New - Others and choose Server In the ne xt window choose Apache Tomcat (with correctversion) as server type and type in following information

After that click finish When you now ope n your Serve r-View (Windo w - Show View - Serve r) you should see yo ur new instance When you right-click on this entry you can e asily start and stop your server and do some configurationstuff

Step 6 Install SAPUI5 Plugin Go to your eclipse under Help - Install New Software Paste one o f the following URLs in the Work with input fieldto get a list of available do wnloads options You can find a list of all update-site URLs on the following site

httpstoolshanaondemandcomkepler for Eclipse Kepler (43) and Luna (44)

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 525

httpstoolshanaondemandcomjuno for Eclipse Juno (42)

Select the entry UI development toolkit for HTML5 and finish the wizard Restart eclipse after you complete theinstallation Then go to File - New - Others and type in the Wizard SAP You should see this (sry for thegerman text)

When you choose Application Project and complete the wizard you should have a ba sic SAPUI5-project and someinitial files in your eclipse The following picture shows the entry in the project explorer If your project isnt displayedcorrectly in this view you maybe ha ve to change the perspective under Window - Open Perspective - Java EE

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 5: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 525

httpstoolshanaondemandcomjuno for Eclipse Juno (42)

Select the entry UI development toolkit for HTML5 and finish the wizard Restart eclipse after you complete theinstallation Then go to File - New - Others and type in the Wizard SAP You should see this (sry for thegerman text)

When you choose Application Project and complete the wizard you should have a ba sic SAPUI5-project and someinitial files in your eclipse The following picture shows the entry in the project explorer If your project isnt displayedcorrectly in this view you maybe ha ve to change the perspective under Window - Open Perspective - Java EE

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 6: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 625

Step 7 Run your Project Go to your new project and o pen in the directory WebContent the indexhtml Then click on the Run-Button

In the following window choose Run on Server and press OK The next window shows a listing of all availableservers in your eclipse In this case we choose our tomcat server and activate the checkbox at the bottom Click onfinish

Easily create high quality PDFs from your web pages geta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 7: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 725

You will see that your web server will start and an the indexhtml will shown in an p review window CongratulationNow you can start to develop your ap plication and test it on your local machine Some useful hints 1 Deployment and Tomcat Server Mode When you want to present your app lication or run it in production you can deplo y your SAPUI5 app very easily on thetomcat server When you dont use a buil d tool like ANT or MAVEN you have to export your proj ect out of eclipsemanually Right-click on your p roject choose Export - War File Provide the following form with some information likethis

E il t high q lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 8: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 825

Average User Rating

After that copy the war-Fil e in the webapps directory of your apache tomcat After a Restart (run startupba t) youcan now access your app under httplocalhost8080 ltyour_appgt 2 Browsers In SAP-Development most projects are running on Internet Explorer But for SAPUI5 - d evelopment its much better touse Chrome or Firefox(with firebug plugin) because both systems offer a great set of tools and plugins to de bug your JavaScript inspect your HTML CSS and ne twork activities and a lot of more cool stuff Because Chrome is my favoriteyou should have lo ok at this site where all details are explained perfectly I hope all this information help you to get started with SAPUI5

ENJOY

36706 Views Tags html5 eclipse ide frontend sapui5 tomcat

E il t high lit PDF f b g g ta bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 9: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 925

(18 ratings)

10 Tweet 30ShareShare 14 13LikeLike

57 Comments

Like (2)

Aravindan Kalaimannan Jun 24 2013 912 PM

Thanks Michael Excellent blog on getting started with SAPUI5Found the article very useful and he lpful inestablishing all the components and their connection Regards

Aravind an K

Like (0)

Michael Herzog Jun 25 2013 906 AM (in res ponse to Aravindan Kalaimannan)

Thank you for your feedb ack

Like (0)

Eric Peterson Jun 27 2013 523 PM

Great post Michael and I love all the pictures Ive been wanting to try out SAPUI5 for a while no w Ihave even more reason to Regarding browsers wouldnt it be better to develop in IE since thats what most enterprise users willbe using Im not much of a web developer b ut all browsers offer javascript debugging HTMLCSSinspection and the like

Michael Herzog Jun 27 2013 956 PM (in response to Eric Peterson)

Good question But to be honest I think no serious web-developer use Internet Explorer ashis primary platform to create web-appli cations Other browsers like Chrome or Firefox offer appreciably more u seful functions and e nhancements than IE especially when you areprogramming JavaScript Here are some examples for Chrome

1 The usability performance and documentation of chrome developer tools are muchbetter than in IE Its very simple and clear to inspect HTML manipulate CSS or debug

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 10: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1025

Like (3)

Of course you can do a lot of these things in IE too But on condition that you are not aMicrosoft fanboy you will see that Firefox and Chrome are d oing their job just better if youcompare these browsers When you are working with SAPUI5 the framework guarantees that an app lication isrunning equ ivalently in all full supported browsers Here is a list of this kind of platforms Ican recommend the following approach which is something like a best practice in my teamDevelop your ap plications primarily in Chrome but test all milestones components or deliverables in all target platforms within your de velopment-process To this day we never had probl ems with IE9 and SAPUI5 (Our supported browsers are IE9 latest Chrome andFF operating System is Windows 7) Last but not least SAPUI5 is bu ild on jQuery On benefit of this amazing framework is cross-browser support So when you are programming with jQuery the risk of browser issues aredistinctly lower The same appli es to SAPUI5-Apps

JavaScript2 With Chromes built-in Timeline you can monitor very precisely events memory usage

and other activities of your application3 You can run audi ts to investigate the network utilization and web pa ge performance

The result of this reports are recommendations which describe what you have to do toimprove the performance and quality of your application

4 You can find in the official chrome web store a lot of great dev-tools which enhancethe build-in cap abilities Most of this tools are for free and very ea sy to install

Like (1)

Eric Peterson Jun 28 2013 412 AM (in res ponse to Michael Herzog)

Very thorough thanks for the insight Im moving to SAPUI5 from ABAP (and Isuspect there are a lot of people doing the same) so the entire web develop mentprocess is still new to me Not that HTMLCSSJS are hard to learn but its a muchdifferent way of developing than most of us ABAPers are used to Thanks for thereminder abo ut cross-browser support I look forward to using the Chrome Developer Tools

Shobhit Srivastava Jun 27 2013 530 PM

Love the step-by-step information to start with SAP new UI technology most of the blogs gen erallyprovides overview on j ust the programming part but for starters like me would really be thankful tobloggers like you which g ives the information on how to be prepared (with shields amp armor ) beforestarting this new UI tech (this new war )Thanks again Michael RegardsShobhit Srivastava

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 11: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1125

Like (2)

Like (0)

Christiano Joseacute Beltratildeo Magalhatildees Jul 1 2013 1105 PM

Great blog Michael very educational an d objective Thank you Regards Christiano

Like (0)

Madhumitha S Jul 4 2013 335 PM

Very useful blog for a starter

Like (0)

Fadil P Aug 22 2013 723 AM

Thanks Michael

The article is very helpful

Like (0)

Cristian Ojeda Sep 12 2013 328 PM

Michael I do not use Windows how I can do the same in ubuntu 1304 (linux) Regards Cristian

Michael Herzog Sep 12 2013 529 PM (in response to Cristian Ojeda)

Hi Cristian Your best bet would be to check ou t the official package sources of Ubun tu I tested thisconfiguration with 1210 1 OpenJDK 7(Runtime + Develop ment Packages) sudo apt-get install openjdk-7-jre icedtea-7-plugin (Runtime Packages)andsudo apt-get install openjdk-7-jdk openjdk-7-source openjdk-7-demo openjdk-7-doc openjdk-7-jre-headless openjdk-7-jre-lib (Development Packages) 2 Eclipse

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 12: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1225

Like (1)

sudo apt-get install eclipse 3 Tomcat Setting en vironment variables

sudo apt-get install tomcat7 tomcat7-admin Installing SAPUI5-plugin and ad ding tomcat to eclipse should be the same like above

Hope that works

export JAVA_HOME=path to JDKexport PATH=$PATH$JAVA_HOMEbin

Like (0)

Abhijeet Bhagat Sep 20 2013 605 PM

Very good blog Unable to download the Eclipse IDE for Java EE D evelopers yet though butsurely will use this blog to set up the dev environment

Like (0)

Michael Herzog Sep 20 2013 1147 PM (in response to Abhijeet Bhagat)

Well actually this should not be a link But I added one now so you get directly to thelatest eclipse release (kepler) Thanks for your feeba ck

Like (1)

Jason Hinsperger Jan 21 2014 645 PM

Thanks for the post I found it very helpful It might be worth noting that only the SCN downloadcontains the actual eclipse plugin - it is not availa ble from the OpenUI5 site Unfortunately the SCNdownload i s an older revision of the SDK Maybe it doesnt matter but I found a more recent versionof the eclipse tools (that matches the latest version of the SDK available on the OpenUI5 site) here

SAP Development Tools for Eclipse

Like (0)

Michael Herzog Jan 21 2014 802 PM (in response to Jason Hinsperger)

Thats great Jason Thanks for the sharing the link

Gareth Ryan Jan 24 2014 1110 AM

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 13: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1325

Like (2)

This is a really brillia nt blog - thanks for putting it together in such a straight-forward but detailedmanner Just one detail possibly worth addin g you need to u se Tomcat 70 not 80 with Kepler if you want touse that as your run time server as at the moment Kepler d oesnt seem to support Tomcat 80 Thanks Gareth

Like (0)

Rauf Shaikh Jan 27 2014 1230 PM

Tried downloadin g from the UI Development Toolkit for HTML5 download page(it says 278MB) butafter 2 MB only download gets completedb and an d ZIP gets downloaded pa rtiallyit saysunexpected end of line

Like (0)

Michael Herzog Jan 27 2014 1238 PM (in res ponse to Rauf Shaikh)

Hi Rauf

just have a look at this discussion maybe it will hel p you further Empty Archive Regards Michael

Like (0)

Jason Hinsperger Jan 27 2014 250 PM (in res ponse to Rauf Shaikh)

RaufI find this happens to me when I am logged in to the SCN for a long time Usually restartingmy browser andor logging outin to SCN fixes the downlo ad problem

Like (0)

Midhun VP Jan 27 2014 415 PM (in response to Jason Hinsperger)

Looks like nice trick have to try it from next time

Like (0)

akshath lt Feb 13 2014 957 AM

Nice Blog

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 14: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1425

Like (0)

Uday Kumar Kanike Mar 16 2014 748 PM

Very useful blog I was trying to i nstall SAPUI5 for a while Thank youUday

Like (0)

Karthik P Mar 19 2014 540 AM

Very useful blog

Like (0)

Ran Shechtman Mar 19 2014 857 AM

Very useful thank you

Like (0)

Venkatesh Manohar Mar 20 2014 948 AM

Useful one thanks

Like (0)

Karthikeyan Rajagopalan Mar 21 2014 841 PM

Thank you for the step b y Step detailsi installed as described but when i create a new UI5 project i got the error One or more constraints have not b een satisfied any ideathanksKarthik

Michael Herzog Mar 21 2014 916 PM (in respons e to Karthikeyan Rajagopalan)

Hi Karthik what version of Java and Eclipse are you using In rare cases such problems can occur if you have special software constellations Regards Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 15: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1525

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 16: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1625

Like (0)

Thanks for sharing

Like (0)

Matthias Beck Aug 14 2014 1257 PM

Thank you very much for the effort I have one p roblem with installing the SAPUI5 PlugIn (Step 6) I downloaded the Open UI5 package but when I try to install new software in Eclipse it says couldnot find file Addin g the URL httpstoolshanaondemandcomkepler does not help either

Any help i s much appreciated best regards

Like (0)

Michael Herzog Aug 14 2014 109 PM (in response to Matthias Beck)

Hi Matthias can you please post a screenshot of your eclipse when the error is appearing Ive never seen this message before Regards Michael

Matthias Beck Aug 14 2014 234 PM (in response to Michael Herz og)

Hi Michael thank you for the p rompt answer This is what it looks like

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 17: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1725

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 18: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1825

Like (0)

Michael Herzog Aug 14 2014 305 PM (in response to Matthias Beck)

Well there is no eclipse-plug in in the OpenUI5-SDK download-archiveso you have to install it over a update site URL What happens when youenter the URL like in the following screenshot You should actually seesome down load-options

Like (1)

Michael Herzog Aug 14 2014 314 PM (in response to Matthias Beck)

Oh it looks like SAP removed the original SAPUI5 evaluation packagefrom the SCN I will update the blog-post(especially chapter 6) in the n exttime You definitely have to use the update-site URLs

Matthias Beck Aug 27 2014 1249 PM (in response to Michael Herz og)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 19: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 1925

Like (0)

Hi Michael it now works perfectly thank you very much Great job BestMatthias

Like (0)

Ramesh Thangamuthu Sep 1 2014 1146 AM

Excellent one to ge t started

Kishan Raj Kuppurajan Sep 3 2014 239 PM

Hi michael thanks for the blog I was able to install UI5 But i am getting error while running the project Below is the error Sep 03 20 14 60340 PM o rgapachecatalinacoreAprLifecycleListener initINFO The APR based Apache Tomcat Native library which allows op timal performance in productionenvironments was not found on the ja valibrarypath CProgramFilesJavajre7binCWINDOWSSunJavabinCWINDOWSsystem32CWINDOWSCProgramFilesJavajre7binserverCProgram FilesJavajre7binCProgramFilesJavajre7libamd64CWINDOWSsystem32CWINDOWSCWINDOWSSystem32WbemcPr Files (x86)Microsoft Application Virtualization ClientcProgram Files (x86)OpenTextViewbinCWINDOWSSystem32WindowsPowerShellv10CWINDOWSSystem32WindowsPFilesThinkPadBluetooth SoftwareCProgram FilesThinkPadBluetoothSoftwaresyswow64CProgram FilesBroadcomWHLCProgramFilesBroadcomWHLsyswow64CProgram FilesBroadcomWHLSysWow64CProgramFilesBroadcomWHLSysWow64syswow64CProgram Files (x86)OpenTextViewerbinCProgramFilesJavajdk170_67JAVA_HOMEbinCProgram FileseclipseSep 03 2014 60340 PM orgapachetomcatutildigesterSetPropertiesRule beg inWARNING [SetPropertiesRule]ServerServiceEngineHostContext Setting property source toorgeclipsejstjeeservertest did n ot find a matching prop ertySep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [http-bio-8080]Sep 03 2014 60340 PM orgapachecoyoteAbstractProtocol initINFO Initializing ProtocolHandler [ajp-bio-8009]Sep 03 20 14 60340 PM o rgapachecatalinastartupCatalina loadINFO Initialization pro cessed in 691 msSep 03 2014 60341 PM orgapachecatalinacoreStandardService startInternalINFO Starting service CatalinaSep 03 2014 60341 PM orgapachecatalinacoreStandardEngine startInternalINFO Starting Servlet Engine Apache Tomcat7055Sep 03 20 14 60341 PM o rgapachecatalinautilSessionIdGenerator createSecureRandomINFO Creation of SecureRando m instance for session ID genera tion using [SHA1PRNG] took [174]

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 20: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2025

Like (0)

millisecondsSep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [http-bio-8080]Sep 0 3 2014 60343 PM o rgapachecoyoteAbstractProtocol startINFO Starting ProtocolHandler [ajp-bio-8009]Sep 03 2014 60343 PM orgapachecatalinastartupCatalina startINFO Server startup in 2480 msSep 03 20 14 60408 PM comsapui5resourceResourceUtil loadPropertiesWARNING An error occured when accessing the META-INFui5properties Reason The META-INFui5properties could no t be foundSep 03 20 14 60408 PM comsapui5resourceResourceServlet init

WARNING Could not find property x-sap-ui5-BuildTimestamp in ui5properties or MANIFESTMF or the value is not valid Using SystemcurrentTimeMillis as cachebuster timestamp can you let me know what step I have done it wrong and how to correct it Thanks in advanceKishan Raj

Like (0)

Michael Herzog Sep 3 2014 625 PM (in response to Kishan Raj Kuppurajan)

Hi Kishan good news you have done nothing wrong These warnings can be ignored because theydont affect your develo pment in an y way I discussed this issue some time ago Eclipse+SAPUI5 Installation pro blem The (Java-based) resource-handli ng functionality of UI5 just cant find the file ui5propertiesin the META-INF folder o f your web-application This file is not created automatically by thewizard and it is no t necessary to run a n UI5-application If you really wa nt to avoid thementioned warning you can create this file manually with the property x-sap-ui5-BuildTimestamp (the valu e is a timestamp) But you dont have to worry i looks like you have done everything right Regards Michael

Kishan Raj Kuppurajan Sep 4 2014 503 AM (in response to Michael Herz og)

Hi Micheal Thanks for your prompt response I have one more query I am beginner I want to learn UI5 from basics

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 21: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2125

Like (0)

If you can give me some url it would be great Thanks in advanceKishan Raj

Like (0)

Muni jagadish Sep 4 2014 552 AM (in response to Kishan Raj Kuppurajan)

Hi Kishan Here you can starthttpssapui5netweaverondemandcomsdkcontentOverviewhtml

Like (0)

Michael Herzog Sep 4 2014 611 PM (in response to Kishan Raj Kuppurajan)

Apart from official docu mentation (which is rea lly good) you can alsocheck out this boo k Getting Started with SAPUI5 You will also find some tutorials about SAPUI5 and SAP Gateway(OData) in SCN Just browse the blog post section in this space

Like (0)

Kishan Raj Kuppurajan Sep 5 2014 527 AM (in response to MichaelHerzog)

Thanks Michael amp Muni jaga dish I will check it out

Like (0)

Muni jagadish Sep 4 2014 550 AM

Hi Michael Useful blog

Regards Mj

Ian Vaz Sep 27 2014 535 AM

Excellent blog Michael

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 22: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2225

Like (0)

Thanks very much Ian

Like (0)

Jagadeesh Biyyapu Oct 10 2014 754 PM

Good post for creating workspace to the beginners lea rning UI5 Thanks for this beautiful p ost

Like (0)

Lukasz Zemelka Oct 20 2014 1113 AM

Is it possible to work with orginal UI5 library locally We have to find bug at SAP instance ui5 library is in version 1181 but we cant work in thisenvinronment thats why i am looking how to down load ui5 1 181 lo local computer

Like (0)

Michael Herzog Oct 20 2014 1256 PM (in response to Lukasz Zemelka)

Hi Lukasz sry i dont know if there is something like a SAPUI5 archive where you can pick your requested version Maybe you should open a discussion for this issue in this space Regards Michael

Fabio Pagoti Oct 23 2014 1117 PM

This helped me quite a lot I was able to install Tomcat on my Eclipse Luna running o n Mavericks

I just have one dou bt what should be my bootstrap if I want to use openui5 locally

After downlo ading openui5 (SDK) using the li nk below I was able to easil y locate resou rces andfolder sap-ui-core-alljs OpenUI5 - Download However copying this folder inside my project has two main issues

1 The folder has 50MB an d Eclipse just gets crazy when trying to deploy the project to Tomcat Ifound heap memory issues and the dep loy just takes too long

2 The SDK is not reused I would like to reuse the SDK in many projects so copying and pastinginside each project doesnt seems the right way of doing that

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 23: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2325

Like (0)

So I tried to use the local file directly in the bo otstrap as below

ltscript src=fileUsersfabiopagotiDevhanaopenui5-sdkresourcessap-ui-core-alljs

id=sap-ui-bootstrap data-sap-ui-

libs=sapuicommons data-sap-ui-

theme=sap_bluecrystalgt

ltscriptgt However when I open my indexhtml file the is not located I tried to copy and paste resources folder inside tomcats folder but it h as the same effect

ReferenceError sap is not definedsapuilocalResources(nyt-launchpad)

Could someone p lease help me sort that out Thanks

Like (1)

Michael Herzog Nov 1 2014 1231 PM (in res ponse to Fabio Pagoti)

Hi Fabio

ive seen your question was being answered by an other user I will link the thread here soother interested parties can ben efit from the conclusion of the discussion How to loadopenui5 using the file system reusing resources folder between projects Regards

Michael

Like (0)

Fabio Pagoti Nov 1 2014 455 PM (in res ponse to Michael Herzog)

Thanks Michael I decided to open that thread as later I realized this was a 2 years-old blog postand my que stion was a bit off topic Thank you

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 24: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2425

Like (0)

sudheer ganti Nov 18 2014 1145 AM

Hi Michael Awesome wo rk I am into UI5 and thi s is really he lpful for meCheers

Like (0)

Sri Lakshmi Naidu Jan 8 2015 512 PM

Hi Michaelthanks for the postI followed the steps listed by youhowever i get error whe n i try to create the SAPUI5 applicationI am ab le to see the message from Tomcatthat my server in stallation is successfulPlease provide some inputThanks in advanceLakshmi

Michael Herzog Jan 12 2015 215 PM (in res ponse to Sri Lakshmi Naidu)

Easily create high-quality PDFs from your web pages - get a bu siness license

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated

Page 25: Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

892019 Http Scn Sap Com Community Developer Center Front End Blog 2013-06-01 How to Install a Basic Development Environment for Sapui5

httpslidepdfcomreaderfullhttp-scn-sap-com-community-developer-center-front-end-blog-2013-06-01-how-to 2525

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

Like (0)

Hi Lakshmi can you p lease check this post Getting error in creating a new project for UI5 You will find there some suggestions to solve the issue Regards Michael

Like (0)

Sri Lakshmi Naidu Jan 12 2015 917 PM (in res ponse to Michael Herzog)

Hi MichaelThanks for the responsei figured out what was going wrongThe JAVA compiler level was set at 14when it is changed to hi gher levelthe issue got resolvedRegardsLakshmi

Like (0)

sandeep karnati Jan 10 2015 309 AM

excellentappreciated