cancel
Showing results for 
Search instead for 
Did you mean: 

Library Project

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.