cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using OpenUI5 with eclipse impossible?

frankluzat
Participant
0 Likes
534

Hi everyone,

currently I'm using the SAPUI5 plugin for eclipse which also delivers the open UI5 sources for local development / testing.

Is there any way of switching to an OpenUI5 version for local eclipse development instead?

I know, that I could just use the HANA CDN version of OpenUI5 in my bootstrap, but since I have some caching problems with my local tomcat (sometimes changed files are not served in their latest version) I use to disable browser caching in the chrome dev tools. So reloading everything from a remote server on every page refresh in the browser would drive me nuts.

Any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Likes

>>, but since I have some caching problems with my local tomcat (sometimes changed files are not served in their latest version) I use to disable browser caching in the chrome dev tools.

why dont use app cache??

just download openui5, extract it to your tomcat's webapps and reference like

<script id='sap-ui-bootstrap' type='text/javascript'
   src="/openui5_PATH/resources/sap-ui-core.js"

...

frankluzat
Participant
0 Likes

Hi Maksim,

thanks for this hint. It works like a charm...

BTW: Here's the explanation for my caching issue, which seems to be "by design", because content which is injected dynamically into the page is not refreshed on page reload (Ctrl+F5). So the only option for developing is to completely disable the cache in chrome dev tools.

Since I can't link the exact answer I post this screen shot here:

Answers (1)

Answers (1)

GabrielGomezPad
Participant
0 Likes

Hello Frank,

the first answer comes to my mind: download OpenUI5 SDK and install locally and reference to that folder in your index.html. I hope it helps,

Gabriel

frankluzat
Participant
0 Likes

That would mean that I have to put the UI5 sources into every project folder, make my version control system ignore it when looking for changed files.

It would be better if I could configure tomcat in a way that it would provide the sources folder to every project which is run in tomcat.

NagaPrakashT
Contributor
0 Likes

Hi Frank,

This may help you.

Thanks,

Naga