SAP BusinessObjects Design Studio SDK Development without Eclipse
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.
- Step 2: Go to the Configuration Uncheck the Use Default Location option and click on Location.
- Step 3: From the New_configuration folder that opens, select and copy the config file to clipboard.
- 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.
- Step 5: Rename the existing config file to another file name; ‘oldconfig’ in this case. Now, paste the copied config file to this folder.
- 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/
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"?
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 🙂
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?
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.
So you have to close and relaunch Design Studio whenever you make a code change, just like you do when working in Eclipse?
Yeah ,But only when you made changes in XML you need to re-Start or else you can use incognito window for changes made in JS files.
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?
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).
I guess in this scenario you still need to manually open an incognito window and then cut and paste the application URL?
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).
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?
Thanks Mustafa for your feedback 🙂
To answer your question The minimum RAM consumption of eclipse would be from 256MB-1GB 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.
Interesting ideas! nice work 🙂
Thanks Pranav 🙂
This is a great post. 🙂
Thanks kat 🙂
Nice idea great work 🙂
Thanks neil 🙂
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 🙂
Thanks for Firebug information Ben Wolf 🙂
And am glad you liked the idea 🙂