I'm developing sometimes on a 12.1 including this: I keep them referenced from the net.
<script id="sap-ui-bootstrap" | ||
src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" | ||
data-sap-ui-theme="sap_goldreflection" | ||
data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.table,sap.ui.demokit,sap.ui.ux3" | ||
data-sap-ui-language="en" > | ||
</script> |
When I move the code to an MII 14.0 or later, I just replace the include block. I tried to deploy the static libraries by recreating the folder structure, but there are simply too many files and directories. It's not worth it.
Just make sure the browsers allow cross-site scripting .. sometimes this is disabled in the settings by the security teams .. heh. The src path is "relative" to the irpt file being parsed and displayed if you start the string with the folder name without "/" .. like src="sapui5/resources/sap-ui-core.js" if you include a first slash, that means the reference is parsed from the ROOT folder of the webspace.
Practically if you call them like
<script id="sap-ui-bootstrap" | ||||
type="text/javascript" | ||||
src="/sapui5/resources/sap-ui-core.js" | ||||
data-sap-ui-theme="sap_goldreflection" | ||||
data-sap-ui-libs="sap.ui.commons, sap.ui.ux3"> | ||||
</script> |
the query goes to the ROOT of the webspace where is parsed by the dynamic libraries from the MII14+ .. With MII 12.X you don't have a way to install these dynamic libs.