meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2019/08/26 15:38] – Antonio Robirosa | sap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2022/10/23 10:05] (current) – [Intellij IDEA vs. Eclipse IDE in SAP Hybris Projects] Antonio Robirosa | ||
---|---|---|---|
Line 3: | Line 3: | ||
Since I started working on SAP Hybris projects in October 2010, I used Eclipse IDE. This is the IDE recommended by Hybris and it was the only one which I had used on Java projects until that point in my career. On March 2014 I joined a Hybris project where each developer used its own favorite IDE: while the majority used Eclipse, our Continuous Integration experts used Intellij IDEA and two senior developers used Netbeans. Crashes and refresh issues have always upset me about Eclipse. So after listening to the advantages of the other IDEs, I decided to give Intellij IDEA a try because its supporters were more convincing. Although the use of an IDEA is a matter of taste, I hope you find useful to read about my experience. | Since I started working on SAP Hybris projects in October 2010, I used Eclipse IDE. This is the IDE recommended by Hybris and it was the only one which I had used on Java projects until that point in my career. On March 2014 I joined a Hybris project where each developer used its own favorite IDE: while the majority used Eclipse, our Continuous Integration experts used Intellij IDEA and two senior developers used Netbeans. Crashes and refresh issues have always upset me about Eclipse. So after listening to the advantages of the other IDEs, I decided to give Intellij IDEA a try because its supporters were more convincing. Although the use of an IDEA is a matter of taste, I hope you find useful to read about my experience. | ||
- | Now I am using Intellij IDEA 15 Ultimate Edition at work since July 2014. Although I have to **pay two licenses** for the [[https:// | + | Now I am using Intellij IDEA 15 Ultimate Edition at work since July 2014. Although I have to **pay one license** for the [[https:// |
+ | |||
+ | I am also using the [[https:// | ||
===== Positive Points about Eclipse IDE ====== | ===== Positive Points about Eclipse IDE ====== | ||
Line 9: | Line 11: | ||
==== Java Projects ===== | ==== Java Projects ===== | ||
- | * **You get all the features of the IDE for free**. If you want to use Java EE features or Spring beans refactoring in Intellij IDEA, you have to pay for the Ultimate Edition. | + | * **You get all the features of the IDE for free**. If you want to use Java EE features or Spring beans refactoring in Intellij IDEA, you have to pay for the Ultimate Edition. If you want to run integration tests inside the IDE and have autocompletation in Impex files, you have to pay for the Hybris Integration Plug-In. |
<WRAP center round important> | <WRAP center round important> | ||
Line 26: | Line 28: | ||
==== Java Projects ===== | ==== Java Projects ===== | ||
- | * **There aren't any refresh problems**. After an ´ant clean all´ you have to wait 10-15 seconds until Intellij reindexes all the files and they you can work normally. This IDE also seems to react faster: There are times when Eclipse just hangs and you don't know what it is doing. | + | * **There aren't any refresh problems**. After an ´ant |
* **Refactorings are faster than in Eclipse.** Additionally the IDE doesn' | * **Refactorings are faster than in Eclipse.** Additionally the IDE doesn' | ||
* **Searching classes and files is faster** because the name matching algorithm doesn' | * **Searching classes and files is faster** because the name matching algorithm doesn' | ||
Line 53: | Line 55: | ||
* The import of the eclipse project configuration files into Intellij IDEA works correctly. But Intellij has another classification of the folders and it is useful to tell him which are the generated and test classes. | * The import of the eclipse project configuration files into Intellij IDEA works correctly. But Intellij has another classification of the folders and it is useful to tell him which are the generated and test classes. | ||
- | * **Unit and Integration tests work**. In Intellij you have to import the whole project using the [[https:// | + | * **Unit and Integration tests work**. In Intellij you have to import the whole project using the [[https:// |
+ | |||
+ | |||
===== Conclusion ====== | ===== Conclusion ====== | ||
Line 62: | Line 67: | ||
* After a SAP Hybris Version update, I need to __refresh the dependencies the Hybris Integration Plugin__. Afterwards the integration tests work again | * After a SAP Hybris Version update, I need to __refresh the dependencies the Hybris Integration Plugin__. Afterwards the integration tests work again | ||
- | --Based on Hybris 6.4 | + | <WRAP center round tip 100%> |
+ | If you did this refresh (import of dependencies) and a **compilation error** still stops the execution of your unit and integration tests, edit the test's configuration. Replace the " | ||
+ | </ | ||
+ | |||
+ | --Based on Hybris 6.4 and SAP Commerce 2005 | ||