on 12-23-2014 4:16 AM
Hi All,
I've been playing with the WebIDE for quite a while now, and while it's looking very promising, there is still no sign of an update for those who want to run it locally (while the hosted version has been updated multiple times). In addition, there is no "free" option to get official patches (yet alone use it officially). Hence, as I was building a UI today, I hit a bug with UI5 that is resolved in the latest version (to do with groupHeaderFactory in XML views failing for reference) and wondered what I should do.
I thought it might be simple to update the UI5 libraries within the Orion/Eclipse folder, but it's not set-up the way I'm used to seeing UI5 libraries so after a very short exercise, the trial ends and I'm back to using Sublime and IIS for development. Oh well, nice while it lasted, but would be nice to get proper support for using Web IDE (especially as an independent).
But to the initial reason for this discussion: Any ideas how I can address the version of UI5 libraries (noting that there must be a strong dependency with the WebIDE itself seeing it runs on UI5).
Cheers,
Matt
ps. Hosted versions are really not an option for my scenario.
Hi Matt,
You should be able to create a destination that points to the version you need. After generating a project you can then modify the neo-app.json file to change the two sapui5 routes. On both, you would change the type from a service to a destination and possibly the name and the entrypath.
Regards,
Jamie
SAP - Customer Experience Group
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jamie. I'm working on a different project right now, but that indeed, should at least get me around the problem. That said, it sounds like anyone doing Web IDE development probably should be doing this anywhere since it's almost certain that the version you are developing for will be behind the Web IDE (assuming you're not still on the now very old Trial version (sorry - Had to have a dig at the lack of updates for the trial version)...
Hi Jamie,
Just to follow up, I did make these changes by adding a new destination to my neo-app.json like follows:
{
"path": "/resources2",
"target":
{
"type": "destination",
"name": "latestui5"
},
"description": "Latest UI5 Resources"
},
I then added the destination file to my config:
Name=latestui5
URL=https\://sapui5.ap1.hana.ondemand.com/sdk/resources
ProxyType=Internet
Type=HTTP
Authentication=NoAuthentication
And changed my index.html to use resources2 instead of resource (and obviously restarting).
Afterwards I could test the app with the new UI5 libraries.
That all said, for some reason it was (even after multiple refreshes with cache not disabled and the WebIDE returning lots of 304's) - it was terribly slow - I mean like it would take 30 seconds to display a very basic ui5 App so not sure if there's a better way of setting up the config file for better performance. Note - The UI5 resource above is located only a couple of thousand kilometres away.
Anyway, at least I can test the scenario which is broken in the trial UI5 libraries now, though not really feasible to use it continuously.
Cheers,
Matt
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.