I've deployed a sapui5 project on cloud foundry from webide. it run fine when i just click on run localy. but it gives me this error when i'm deploying on cloud foundry. I think its because i'm using a custom control which is using some additional js files and. So i want to ask how i can add this component information into menifest file.
in manifest add in the section sap.ui.5.resources -->here you can attach individual JS files...
https://sapui5.hana.ondemand.com/#docs/guide/be0cf40f61184b358b5faedaec98b2da.html
I've done like that. but still error is there
"openSourceComponents": [ { "name": "sap/ui/codetools/CodeEditor.js", "packagedWithMySelf": true } ]
try using "resources" in sap.ui5
"sap.ui5": { //SAPUI5-specific attributes - in sap.ui5 namespace "resources":{ "js": [{ "uri": "sap/ui/codetools/CodeEditor.js" //mandatory }] }
I've tried this one. it also not working