meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
sap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2019/08/26 15:27] – [Intellij IDEA vs. Eclipse IDE in SAP Hybris Projects] Antonio Robirosa | sap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2021/05/18 15:53] – [Conclusion] Antonio Robirosa | ||
---|---|---|---|
Line 5: | Line 5: | ||
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 two licenses** for the [[https:// | ||
- | ===== Positive Points about Intellij IDEA ====== | + | ===== Positive Points about Eclipse IDE ====== |
==== Java Projects ===== | ==== Java Projects ===== | ||
- | * **There aren't any refresh problems**. After an "ant clean all" | + | * **You get all the features of the IDE for free**. If you want to use Java EE features or Spring beans refactoring in Intellij |
- | * Refactorings are faster than in Eclipse. Additionally | + | |
- | * Searching classes and files is faster because | + | |
- | * Windows arrangement: | + | |
- | * You can mark the folders which contain source code from tests. Then the search can classify the results in Production and Testing. | + | |
- | ==== SAP Hybris | + | <WRAP center round important> |
+ | Since June 2019 you not only have to pay for the Intellij IDEA Ultimate but also for the Hybris | ||
+ | </ | ||
- | * The analysis of Findbugs, PMD and Checkstyle using the QA plugin runs faster than in Eclipse and I can easily configure what issues I would like to analyse. | ||
- | * The debugger starts faster than in Eclipse. | ||
- | |||
- | ===== Positive Points about Eclipse IDE ====== | ||
- | |||
- | ==== 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. | ||
==== Hybris Projects ===== | ==== Hybris Projects ===== | ||
Line 32: | Line 22: | ||
* The integration of Sonar in SAP Hybris Projects works. The current version of the two Sonar plugins for Intellij don't support multiple modules((As of July 2016)). | * The integration of Sonar in SAP Hybris Projects works. The current version of the two Sonar plugins for Intellij don't support multiple modules((As of July 2016)). | ||
- | ===== Neutral Points ====== | + | ===== Positive Points about Intellij IDEA ====== |
+ | |||
+ | ==== 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. | ||
+ | * **Refactorings are faster than in Eclipse.** Additionally the IDE doesn' | ||
+ | * **Searching classes and files is faster** because the name matching algorithm doesn' | ||
+ | * Windows arrangement: | ||
+ | * You can mark the folders which contain source code from tests. Then the search can classify the results in Production and Testing. | ||
+ | |||
+ | ==== SAP Hybris Projects ===== | ||
+ | |||
+ | * The analysis of Findbugs, PMD and Checkstyle using the QA plugin runs faster than in Eclipse and I can easily configure what issues I would like to analyse | ||
+ | * **The debugger starts faster than in Eclipse** | ||
+ | |||
+ | ===== Negative points about Intellij IDEA ====== | ||
+ | |||
+ | ==== SAP Hybris Projects ===== | ||
+ | |||
+ | * **The hybris runner which generates the models and triggers the build callbacks don't work.** Before running the integration tests, you have to run ant all in a console to generate the update Hybris code. | ||
+ | |||
+ | ===== Neutral Points | ||
==== Java Projects ===== | ==== Java Projects ===== | ||
Line 42: | Line 53: | ||
* 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://bitbucket.org/AlexanderBartash/impex-editor-intellij-idea-plugin|Hybris Integration plugin]] or to correct the dependencies of all the modules in the platform directory manually. | + | * **Unit and Integration tests work**. In Intellij you have to import the whole project using the [[https://plugins.jetbrains.com/plugin/7525-hybris-integration|Hybris Integration plugin]] or to correct the dependencies of all the modules in the platform directory manually. |
- | ===== Positive Points about Intellij IDEA ====== | ||
- | ===== SAP Hybris Projects ===== | ||
- | * **The hybris runner which generates the models and triggers the build callbacks don't work.** Before running the integration tests, you have to run ant all in a console to generate the update Hybris code. | ||
- | ====== Conclusion ====== | + | ===== Conclusion ====== |
I use Intellij IDEA for everything because the IDE reacts faster and I don't have any refresh issues. But: | I use Intellij IDEA for everything because the IDE reacts faster and I don't have any refresh issues. But: | ||
* After changes in the code, I build the project using ant clean all | * After changes in the code, I build the project using ant clean all | ||
- | * After a SAP Hybris Version update, I recreate the project using the Hybris Plugin | + | * After a SAP Hybris Version update, I need to __refresh |
+ | |||
+ | <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 | + | --Based on Hybris 6.4 and SAP Commerce 2005 |