Skip to Content
0

SapUI5 library project

Mar 28, 2017 at 09:26 AM

112

avatar image

Hi everybody,

I'm trying to create a library project for controls which we are planning to use in different SapUI5 based apps.

I followed these tutorials:

https://blogs.sap.com/2016/12/15/sapui5-custom-control-library-web-ide-development-deployment-to-hcp-and-to-on-premise-abap-repository.-part-1./ https://blogs.sap.com/2016/12/20/sapui5-custom-control-library-web-ide-development-deployment-to-hcp-and-to-on-premise-abap-repository.-part-2./ https://blogs.sap.com/2017/02/22/sapui5-deploy-custom-control-library-to-abap-repository-using-grunt/

Now whenever I want to deploy my library project to HCP I get this error:

I really searched a lot but I cannot find any references to a "URI block" or "Unknown project guidelines" anywhere. I have no idea how to debug this further as I have no access to any source code that could help me, of course.

I also attached my manifestjson.txt ('txt' only added to be able to upload it here..) even though it's pretty basic.

Thanks in advance for any information you have regarding my issue.

Edit: I managed to get the library project deployed after looking very sharply at what's happening in rpanneel's example at https://github.com/rpanneel/UI5CustomLibrary.

But now I don't know how to import the library project in another project. Simply declaring it as a dependency in manifest.json like..

"sap.ui5": {

...

"dependencies": {

"minUI5Version": "1.30.0",

"libs": { "sap.ui.core": {}, "sap.m": {}, "sap.ui.layout": {}, "sap.ushell": {}, "sap.collaboration": {}, "sap.ui.comp": {}, "sap.uxap": {}, "my.own.library": {} } }, ...

..does not seem to do the right kind of magic.

Anyone has an idea?

Edit2: The first tutorial I linked to actually explains how to import the library project. It's all working fine now.

Regards Michael

unbenannt.png (12.9 kB)
manifestjson.txt (1.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers