Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app with library integrated could not be deployed to ABAP backend #30

Open
nimble-123 opened this issue Nov 8, 2017 · 1 comment
Open

Comments

@nimble-123
Copy link

nimble-123 commented Nov 8, 2017

hi john,

we tried to include your library to our project. We added the lib files to webapp/lib/openui5, defined the lib in manifest.json descriptor and added the xml namespace to the corresponding views.

screenshot at nov 08 15-40-22

"sap.ui5": {
		"resourceRoots":{
			"openui5": "lib/openui5"
		},
		"dependencies": {
			"minUI5Version": "1.44.18",
			"libs": {
				"sap.m": {},
				"sap.ui.core": {},
				"sap.ui.layout": {},
				"openui5.googlemaps": {}
			}
		},
<mvc:View
  xmlns="sap.m"
  xmlns:mvc="sap.ui.core.mvc"
  xmlns:semantic="sap.m.semantic"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns:footerbar="sap.ushell.ui.footerbar"
  xmlns:gmaps="openui5.googlemaps"
>

In WebIDE or local development everything works fine, map is displayed and we are able to interact with it. But when we try to deploy the app from webide to netweaver as abap backend system it raises following error message.

microsoftteams-image

So for me it seems that resourceRoot is the wrong section in app descriptor, because the launchpad tries to load the lib from the abap repository instead of the folder inside the deployed app.

Do we have to explicitly use sap.ui.getCore().loadLibrary("openui5.googlemaps", "../openui5/googlemaps/"); if we develop apps with your lib for the fiori launchpad?

any help would be nice :)

@NbeGitHub
Copy link

Hello,

Beautiful library.
Thank you for sharing.

Unfortunately it is unusable because not deployable on a system. Same problem. Have you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants