Hybris source code on IntelliJ

情到浓时终转凉″ 提交于 2019-12-11 16:33:02

问题


There are a lot of Hybris specific classes I have been using in the past years like:

UserService, SessionService, ModelService, ModelContext, CmdImpExService, FlexibleSearchService

I noticed that these classes are present in jar files ( e.g coreserver.jar ) and Intellij can easily decompile them.

I am interested in the associated .java files because I want to see all the javadoc and because I want to make the debug process a lot easier. I also know that the .java files depend on the Hybris version.

Is there any set of steps(or any link) I can follow so that I can get the source(.java) files ?


回答1:


As far as I know, hybris is very protective of their source code. But you can get JavaDoc here:

https://help.hybris.com/6.2.0/api/commercesuite/index.html

However you need a hybris account for access. Replace 6.2.0 with whatever version you use.

There are also plugins for IntelliJ available at:

  • https://plugins.jetbrains.com/plugin/7525-hybris-integration (paid)
  • https://plugins.jetbrains.com/plugin/12639-integration-for-sap-commerce/ (free)

When you import your project using this plugin, it automatically adds the JavaDoc to your projects.



来源:https://stackoverflow.com/questions/50152673/hybris-source-code-on-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!