What is UI5 Schemas?
UI5 Schemas allows you to develop SAPUI5/OpenUI5 XML at a maximum convenience. It downloads, upgrades and sets up SAPUI5/OpenUI5 XML schemas for a better development experience in your favorite IDE (if it is WebStorm ;).
Getting Started
$ npm install -g ui5-schemas
$ ui5-schemas
npm 5:
$ npx ui5-schemas
Use cli option --help
for more details
$ ui5-schemas --help Usage: ui5-schemas [options] Options: --origin The src url or path to be used
Features
Custom Origin
Install schemas from any origin: Use the CDN, a downloaded SDK or even your own remote system.
Multi-SDK Support
Use the 'OpenUI5', 'OpenUI5 Nightly' or 'SAPUI5' SDK for your project.
Multi-Version Support
Use any available OpenUI5/SAPUI5 version in your project. Switch versions with ease!
Known Limitations
The xml schema files provided by SAP come with some limitations that this module does not fix (yet):
- Binding syntax is not supported
- ...
Usage behind Proxies
Proxies used according to npm module request. Make sure to have set the following env vars:
- HTTP_PROXY / http_proxy
- HTTPS_PROXY / https_proxy
- NO_PROXY / no_proxy
If you are behind a corporate proxy and experience 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' it is most probably due to an invalid proxy certificate. You can still run ui5-schemas like this at your own risk:
NODE_TLS_REJECT_UNAUTHORIZED=0 ui5-schemas# windows set NODE_TLS_REJECT_UNAUTHORIZED=0ui5-schemas
If none of this works just download a SAPUI5/OpenUI5 SDK and install schemas from the filesystem:
$ ui5-schemas --origin '/Users/cschuff/Downloads/sapui5-sdk-1.65.1'
What is yet to come?
- Eclipse support
- Feel free to open an issue if you are missing something else!