主权项 |
1. A computer-implemented method of packaging and deploying a hybrid application, comprising:
in response to a user event, providing a source code of the hybrid application by a development environment running on a cloud server; and automatically invoking a deployment generator to receive the source code of the hybrid application by a deployment generator running on the cloud server, wherein the deployment generator comprises performing,
scanning the source code of the hybrid application to identify and remove design time files, resulting in a scanned application file,analyzing the scanned application file to resolve runtime dependencies of the hybrid application as well as retrieving dependent libraries, resulting in a resolved application file,converting the resolved application file to files and folders compatible for deployment to a deployment service on the cloud server, resulting in a converted application file,compressing the converted application file to form a compressed application file,generating a deployment metadata file,packaging the compressed application file and the deployment metadata file to produce an application package, anddeploying the application package to a deployment service on the cloud server. |