on 01-02-2015 11:00 PM
Common to IDEs are several projects that can be main projects and a library project that contains code shared by all main projects. This is exactly the case in our Fiori project: one Eclipse project is a library of common JavaScript and it is used in several main projects. How do we do this in Web IDE?
Using web ide created the project to share and the project to use the shared project. How do we link the main project to use the shared project?
For example, in the shop example Fiori app, it refers to the UI5 shared library:
<script id="sap-ui-bootstrap"
src="resources/sap-ui-core.js" data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-xx-bindingSyntax="complex" data-sap-ui-compatVersion="1.16"
data-sap-ui-resourceroots='{"nw.epm.refapps.ext.shop": "./"}'>
</script>
But the directory "resources" is not is the project. It is just magic. So it appears web ide has certain magic libraries hard coded into the system and there is no example in the example project for a developer to override the hard coded libraries or add their own.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.