on 06-07-2015 1:29 PM
Hi Experts,
I am developing a SAPUI5 application in Eclipse with the UI5 Toolkit. It will be deployed to an SAP AS Java 7.4 using NWDS.
The problem I am facing is that after packaging the application as a WAR archive, the resulting archive is over 50mb big. Unfortunately, our corporate VPN connection doesn't handle this amount of data too well and deployment takes almost an hour each time, which makes the development process very cumbersome.
For this reason, I am trying to split out the UI5 libraries, which make up for the biggest part of the archive, and deploy them separately. I would like to only deploy the actual application each time and the libraries archive only once.
Are there any resources out there describing the steps necessary to achieve this? Any tips on what to take care of?
Thanks, Timo
Any ideas on how to solve this, anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Optimization of the Package Size
You can reduce the size further and optimize the content for a specific application by deleting additional files. The following list gives some examples:
See this link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, there is no "converting", for java was it is web project by nature and sapui5 is delivered as set of jars,
e.g.
com.sap.apf.apf-lib_1.22.1.jar
com.sap.ca.scfld.md_1.22.1.jar
com.sap.ca.ui_1.22.1.jar
com.sap.collaboration.collaboration-commons_1.22.0.jar
com.sap.smartbusiness.suite.smartbusiness_1.22.0.jar
com.sap.suite.suite-ui-commons_1.22.0.jar
com.sap.ui5.commons_1.22.4.jar
com.sap.ui5.comp_1.22.4.jar
com.sap.ui5.core_1.22.4.jar
com.sap.ui5.layout_1.22.4.jar
com.sap.ui5.makit_1.22.4.jar
com.sap.ui5.mobile-ext_1.22.4.jar
com.sap.ui5.mobile_1.22.4.jar
com.sap.ui5.resource_1.22.4.jar
com.sap.ui5.richtexteditor_1.22.4.jar
com.sap.ui5.table_1.22.4.jar
com.sap.ui5.themelib_sap_bluecrystal_1.22.4.jar
com.sap.ui5.themelib_sap_goldreflection_1.22.4.jar
com.sap.ui5.themelib_sap_platinum_1.22.4.jar
com.sap.ui5.unified_1.22.4.jar
com.sap.ui5.utils_1.22.4.jar
com.sap.ui5.ux3_1.22.4.jar
com.sap.ui5.vbm_1.22.0.jar
com.sap.ui5.viz_1.22.4.jar
com.sap.ushell.ushell-lib-testresources_1.22.4.jar
com.sap.ushell.ushell-lib_1.22.4.jar
commons-io-2.4.jar
there is really no resources folder
Yes there is no resources folder but there is JAVA resources and Javascript resources folders.
Whenever we build a project we load all SAPUI5 libraries. So that link is talking about that only.
We don't have to load all the libraries. We may only load what we need.
What do you say?
Am i right about my concept?
Dhananjay
Hi Timo,
NW 7.4 should already have UI5 SCA available out of the box and all you need to do is reference it.
using require (after you created the load script of UI5 of course).
Your WAR file should only contain your application JS files no stuff from UI5.
BR,
Saar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.