Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

where's the resources/sap-ui-core.js?

hi Guys,

I'm a starter of SAP UI5. I created a ui5 project using the eclipse project wizard.

In the index.html file, there's the bootstrap in the red box:

My question is: where's this resources folder? I looked all over the project structure, I didn't find a clue.

Could you tell me how does this line of code links to the sap-ui-core.js in detail?

Thanks !!

Former Member

Someone asked my question.

I think I figured it. May be use full to you.

Check the web.xml file inside WebContent->WEB-INF

- There is a a mapping for '/resources' path, pointing to a servlet, called 'ResourceServlet'.

- In the same file, this servlet points to a Servlet Class ''"

Now this Servlet Class is available inside a jar file located here.

<Your Project> -> Java resources -> Libraries ->Web App Libraries->'<your ui5 version>.jar

Since you are running 'Web App Preview', we are looking at 'Web App Libraries'.

I think the java code (from which the above jar was compiled) would have the code to point to the resources inside 'JavaScript Resources -> SAPUI5 Core Libraries'. I am not sure if we can see the java code here though.



4 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question