Have you ever wondered why you have been running two Eclipse environment (Eclipse inside Design Studio Eclipse) for developing an Extension for SAP BusinessObjects Design Studio. Doing this also consumes more memory and more time. I have also been asking myself the same question and finally came up with a solution.

In this blog, I will explain the steps to achieve faster and smarter SDK development in SAP BusinessObjects Design Studio without Eclipse.

Steps for SAP BusinessObjects Design Studio SDK Development without ECLIPSE

  • Step 1: Open the eclipse which is been currently used for your SDK development and click Run->Run-Configuration to open the Run Configuration dialog box.

/wp-content/uploads/2015/07/sap_businessobjects_design_studio_sdk_run_configuration_981x612_1_751364.png

  • Step 2: Go to the Configuration Uncheck the Use Default Location option and click on Location.

/wp-content/uploads/2015/07/sap_businessobjects_design_studio_sdk_run_configuration_location_981x613_2_751366.png

  • Step 3: From the New_configuration folder that opens, select and copy the config file to clipboard.

/wp-content/uploads/2015/07/sap_businessobjects_design_studio_sdk_config_981x560_3_751367.png

  • Step 4: Open the Run dialog box (this can be done using the key combination windows + r). In the Run dialog box, type “%USERPROFILE%\Analysis-config\config\” and click OK. The config folder opens.

/wp-content/uploads/2015/07/sap_businessobjects_design_studio_sdk_run_4_751368.png

  • Step 5: Rename the existing config file to another file name; ‘oldconfig’ in this case. Now, paste the copied config file to this folder.

/wp-content/uploads/2015/07/sap_businessobjects_design_studio_sdk_without_eclipse_981x552_5_751369.png

  • Step 6: Open the SAP BusinessObjects Design Studio application which is now in developing mode and start working without opening eclipse 😀

Another option is to open the default SAP BusinessObjects Design Studio application and follow till step 5. Rename old-config as config and; config as old-config. And you’re done! 😉

Source : http://visualbi.com/blogs/design-studio/general/sap-businessobjects-design-studio-sdk-development-without-eclipse/

To report this post you need to login first.

20 Comments

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

  1. Mustafa Bensan

    Hi Naveen,

    I’m a little bit confused with this approach.  The last screenshot shows SDK code being edited using the text editor Sublime Text.  Can you clarify what you mean in Step 6 by “Open the SAP BusinessObjects Design Studio application which is now in developing mode and start working without opening eclipse”, perhaps by providing a screenshot of Design Studio “in developing mode”?

    Thanks,

    Mustafa.

    (0) 
    1. Naveen Ravichandran Post author

      Hi Mustafa,

      In step 6 what am trying to convey is after completing five steps ,if you start design studio you will be redirected to Developing Mode Design studio(which normally run only through Eclipse->Design studio),So Now you can work use editor for your coding,You don’t have to open your eclipse anymore directly change the code and run your Design studio,

      And sorry for the confusion Mustafa 🙂

      (0) 
      1. Mustafa Bensan

        Hi Naveen,

        Thanks for the follow-up.  So if I understand correctly, under this approach Design Studio is open in “Developing Mode” but you are editing the SDK code with your preferred text editor instead of Eclipse.  Is that the idea?  So how does Design Studio recognise source code updates in the SDK components as you edit the code?

        Mustafa.

        (0) 
        1. Naveen Ravichandran Post author

          Mustafa ,

          For answering your first question Yes that the Main Idea.

          And for your second question ,Am just modifying the config file (so basically what is happening is when ever you change your code and run your design studio it will trigger the config of Eclipse_design studio for reference follow step 3&5) so we don’t have to open the eclipse but the config file will call for us and we can directly change our code in our preferred editor.

          (0) 
              1. Mustafa Bensan

                That’s a good tip I was not aware of.  Presumably it works because the JS files are not cached? 

                By the way, are you referring to the InPrivate browsing in Internet Explorer or the Incognito Window of Chrome?  If it’s the latter, have you figured out a way to automatically launch Chrome instead of Internet Explorer when previewing in Design Studio?

                (0) 
                1. Naveen Ravichandran Post author

                  Thanks Mustafa ,

                  You need make chrome as your default Browser,and then when ever you run your application it will open in chrome(It is actually referring the default browser).

                  (0) 
                    1. Naveen Ravichandran Post author

                      yeah mustafa,

                      But make sure that you are opening only one incognito window at a time i.e(close your previous incognito-window and open a new one and paste the same URL).

                      (0) 
                      1. Mustafa Bensan

                        Okay, thanks Naveen.  So, I can see how this approach would let you use a text editor of your choice for development instead of Eclipse (as is mentioned in the Design Studio SDK Developer Guide), which may be preferable for some but I’m not sure you would necessarily save any development time in practice because the process is still essentially the same, only using a different editor.  Also, when the SDK component is ready for deployment don’t you have to use Eclipse to create the archive file anyway, or alternatively another tool for packaging and archiving?



                        (0) 
                        1. Naveen Ravichandran Post author

                          Thanks Mustafa for your feedback 🙂

                          To answer your question The minimum RAM consumption of eclipse would be from 256MB1GB that depends on your setup(eclipse.int).But the text editor(atom,notepad++,..)would take maximum of 100MD only. And i too agree there are certain limitation are there in this method ,But the main idea is to reduce the usage eclipse as much as possible.

                          (0) 
  2. Ben Wolf

    Hi there,

    nice idea, thanks for that!

    To get a little more benefit of this, you can use Firefox with Firebug and disable the caching for the tab where the analysis is running. (You can find this in firebug on the network-tab, option “disable caching”)

    Advantage: You now can do changes in your coding and just reload the page – changes will be now reflected instantly! (Without the need to close/reopen an incognito tab)

    Drawback: The analysis will now take longer to load because firebug is inspecting the code. But since you are anyway developing, it’s lilkely you’ve opened firebug anyway 🙂

    (0) 

Leave a Reply