meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
sap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2019/08/26 15:37] – [Neutral Points] Antonio Robirosasap_hybris_commerce:development_process:intellij_idea_vs._eclipse_ide_in_sap_hybris_projects [2021/05/18 15:53] – [Conclusion] Antonio Robirosa
Line 4: Line 4:
  
 Now I am using Intellij IDEA 15 Ultimate Edition at work since July 2014. Although I have to **pay two licenses** for the [[https://www.jetbrains.com/idea/buy/#commercial?billing=yearly|Intellij IDEA Ultimate]] and the [[https://plugins.jetbrains.com/plugin/7525-hybris-integration/pricing|Hybris Integration Plugin]], the use of this IDEA acelerates my work and saves my time and saves my customers money. Now I am using Intellij IDEA 15 Ultimate Edition at work since July 2014. Although I have to **pay two licenses** for the [[https://www.jetbrains.com/idea/buy/#commercial?billing=yearly|Intellij IDEA Ultimate]] and the [[https://plugins.jetbrains.com/plugin/7525-hybris-integration/pricing|Hybris Integration Plugin]], the use of this IDEA acelerates my work and saves my time and saves my customers money.
 +
 +===== 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. 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>
 +Since June 2019 you not only have to pay for the Intellij IDEA Ultimate but also for the Hybris Integration Plug-in. Those tools are worth the EUR 500/200 your company paids the first year((as invidual or after two years it is cheaper)) because they speed up your development. But use the 30-days trial decide on your own.
 +</WRAP>
 +
 +
 +==== Hybris Projects =====
 +
 +  * **When you build the Hybris project with Eclipse, the Hybris models are generated or updated.**
 +  * **After an update of the Hybris Platform, the dependencies of each extension (libraries) are automatically updated**. Intellij have an option to associate the iml file with the classpath file but it messes up the Hybris dependencies after a version update of the eCommerce Platform. FIXME
 +  * 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)).
  
 ===== Positive Points about Intellij IDEA ====== ===== Positive Points about Intellij IDEA ======
Line 9: Line 26:
 ==== 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 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't crash during the process and Intellij seems to spot required changes in Spring application which Eclipse seem to miss (Ultimate Edition of Intellij IDEA).   * **Refactorings are faster than in Eclipse.** Additionally the IDE doesn't crash during the process and Intellij seems to spot required changes in Spring application which Eclipse seem to miss (Ultimate Edition of Intellij IDEA).
   * **Searching classes and files is faster** because the name matching algorithm doesn't require the use of asterisks and it matches the given characters in every part of the name.   * **Searching classes and files is faster** because the name matching algorithm doesn't require the use of asterisks and it matches the given characters in every part of the name.
Line 20: Line 37:
   * **The debugger starts faster than in Eclipse**   * **The debugger starts faster than in Eclipse**
  
-===== Positive Points about Eclipse IDE ======+===== Negative points about Intellij IDEA ======
  
-==== Java Projects =====+==== SAP Hybris 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.  +  * **The hybris runner which generates the models and triggers the build callbacks don't work.** Before running the integration testsyou have to run ant all in a console to generate the update Hybris code.
- +
-<WRAP center round important> +
-Since June 2019 you not only have to pay for the Intellij IDEA Ultimate but also for the Hybris Integration Plug-in. Those tools are worth the EUR 500/200 your company paids the first year((as invidual or after two years it is cheaper)) because they speed up your development. But use the 30-days trial decide on your own. +
-</WRAP> +
- +
- +
-==== Hybris Projects ===== +
- +
-  * **When you build the Hybris project with Eclipse, the Hybris models are generated or updated.** +
-  * **After an update of the Hybris Platformthe dependencies of each extension (libraries) are automatically updated**. Intellij have an option to associate the iml file with the classpath file but it messes up the Hybris dependencies after a version update of the eCommerce Platform. FIXME +
-  * 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 about Intellij IDEA ====== ===== Neutral Points about Intellij IDEA ======
Line 47: 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://plugins.jetbrains.com/plugin/7525-hybris-integration|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.
  
-===== 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. 
  
 ===== Conclusion ====== ===== Conclusion ======
Line 62: Line 65:
   * 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 "before launch" step //build// with //build, no error check//. 
 +</WRAP> 
 + 
 +--Based on Hybris 6.4 and SAP Commerce 2005