Skip to Content
author's profile photo Former Member
Former Member

Library Project

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2015 at 05:16 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.