前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >如何修改SAP UI5本地库文件

如何修改SAP UI5本地库文件

作者头像
Jerry Wang
发布2019-05-30 21:02:15
5360
发布2019-05-30 21:02:15
举报

You meet with issues when you send odata request to backend:

clipboard1
clipboard1

You observe in the local version js file, line 1655, the sUrl population logic is wrong: the check against length is missing.

clipboard2
clipboard2

In another version of the same file, the expected check logic is there.

clipboard3
clipboard3

You would like to make changes on the local js file. Step1: find out the jar file name which contains the js file you want to change and also the local path of the jar file in Network tab:

clipboard4
clipboard4

jar file: com.sap.ui5.core_1.24.1.jar

clipboard5
clipboard5

Step2: extract the .jar file, make local changes there:

clipboard6
clipboard6

Step3: re-pack the whole extracted folder via jar command below:

clipboard7
clipboard7

Step4: replace the old jar file with the jar file generated in step3: C:\myProgram\sapui5-ide-kepler-win32.win32.x86_64\plugins

clipboard8
clipboard8

Relaunch tomcat and the modified source code of .jar file will be loaded.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年04月29日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档