on ‎2015 Oct 30 10:00 PM
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?
Request clarification before answering.
>>, 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"
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.