Skip to Content

In my article “SAP and mobile powers combined through SAPUI5 and Phonegap” I showed how to create a mobile application with SAPUI5 mobile library and Phonegap. In that article I used SAPUI5 version 1.8.4. The current version of SAPUI5 is 1.10.4. The problem is that when upgrading to this version you will not get the resource folder described in my previous article. I will bellow describe how you can get the resource folder for version 1.10.4. Then you can go back to my previous article and continue to build the mobile application but with the new functionality of SAPUI5 1.10.4.

Step 1

In Eclipse you open the project of the mobile SAPUI5 application you are building. Then you open the Libraries and “SAPUI5 Core Libraries” as shown in the picture bellow.


/wp-content/uploads/2013/04/picture1_210012.png

In the picture you see which libraries that are included in your SAPUI5 application. These files have a path in there names, example for me it stands C:\Users\cla_morape\Documents\SAPUI5\eclipse\plugins. Go to that folder.

Step 2

In the bellow picture I have opened the folder described in step 1.

/wp-content/uploads/2013/04/picture2_210013.png

In this folder you copy all the files that is described in “SAPUI5 Core Libraries” in step 1 into a temporary folder. For me it looks like this when I have done it:

/wp-content/uploads/2013/04/picture3_210134.png

Step 3

You need to have Java SDK installed to extract the content of the jar files.

Step 4

Open the command prompt. In Windows press the start button and type cmd, then press enter. In the command prompt you need to navigate to the temporary folder you created in step 2. When you are there you need to do an unpack command on each of the jar files in that folder.

The jar command: jar xf jar-file-name

For example, I typed:

/wp-content/uploads/2013/04/picture5_210136.png

In the temporary folder I now have two new folders: libraries and META-INF.

If the jar command described above don’t work you may need to add the path to the java bin folder to your environmental variables as shown bellow (your path to the Java folder may be different):

/wp-content/uploads/2013/04/picture4_210135.png

Step 5

In the temporary folder open the folder META-INF. In that folder you will have a folder called resources. This folder is the one you where looking for! Use this resource folder in my other article “SAP and mobile powers combined through SAPUI5 and Phonegap” and start from the step 2 in that article.

Good luck! 

Thanks Shiang Li for notifying me about this issue!

Kind regards

Morgan Apelqvist

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

      1. Wolfgang Röckelein

        What “current release” you are referring to? The Eclipse Plugins from SWDC (seem to habve 1.18.6 currently), the Eclipse Plugins from SAP Development Tools for Eclipse,(seem to have 1.18.5 currently), the OpenUI5 download (seems to have 1.16.7 and 1.16.8-SNAPSHOT), the ABAP Runtime (seems to be at 1.18.6 according to http://service.sap.com/sap/support/notes/1975609)?

        Also the Developer Guide from help.sap.com talks about a “sapui5-mobile-opt-static.zip”…

        (0) 
        1. Gregor Brett

          The release I’m referring to is SAPUI5 1.16.3 Evaluation Package taken from SAPUI5 Developer Center

          Within that download there is a file sapui5-mobile-static.zip which contains the resources folder.

          I don’t know where you can find the mobile optimized version you refer to though.

          (0) 

Leave a Reply