on ‎2018 Aug 28 10:34 AM
Hello Web IDE Users,
I'm using the Web IDE Full Stack in my Trial account to follow the getting started guide for The Application Programming Model. To track my progress I've initialised the project as a Git repository and added also a remote repository. For that I use the Git repository in SCP Neo. In the step Add a User Interface I configured the possibility to run the application with mock data. That works fine. But now the file app/webapp/test/extended_runnable_file.html appears in the Git pane as a changed file. But this file isn't visible in the project source tree. Also I've tried to add it to .gitignore. But that doesn't have an effect:

Any help is welcome.
Best regards
Gregor
Request clarification before answering.
Hi Gregor,
This should be fixed now, can you please confirm?
Thanks,
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just a wild guess, but i noticed that this file is also generated and used by the WebIDE FS on normal UI5 projects. It is used as a replacement for the index.html or at least there is some rewrite logic because if one run a project as "Web Application" and selects the index.html as entrypoint the preview tab loads the mentioned file. So i guess that this file is added to the git index as soon as the project and git repository is created from inside the WebIDE FS because if i create a project and init a git repo on my local machine and then clone it into WebIDE FS the file is not present as a changed file to commit in the git pane.
I came to this conclusion because the gitignore only stop files being tracked by git if the file is not tracked already. if it is tracked already and then ignored through the gitignore one has to delete it manually from the project which is impossible due to that the file is always hidden in WebIDE FS even with "Show hidden files" activated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nils, my observation is that Web IDE FS generates extended_runnable_file.html only if one of these options were applied. Not sure if it's a bug or feature. @michal.keidar What do you think?
> if it's so important to you to know the purpose of this file
@michal.keidar Not that I'm curious about the purpose of this file; Loading extended_runnable_file.html, which automatically replaces index.html in this case, has a serious performance issue. If we take a look at that document, it loads changes_preview.js which eventually loads the FakeLrepConnector module synchronously..
This is how the bootstrap process basically looks like right now in extended_runnable_file.html:
<!-- right after user defined bootstrap script -->
<script> /*changes_preview.js*/
//Load the fake lrep connector
jQuery.sap.require("sap.ui.fl.FakeLrepConnector");
//...
</script>This leads to loading all dependent modules synchronously / sequentially even those from the sap.ui.core and sap.m lib. It takes around 4 seconds to finish.
Demo: https://run.plnkr.co/plunks/vEv7d0x45HdnKuWT/extended_runnable_file.html

I think Web IDE can do it better to improve DX.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 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.