问题描述
过去几年中,我一直在使用很多Hybris特定的类,例如:
There are a lot of Hybris specific classes I have been using in the past years like:
UserService, SessionService, ModelService, ModelContext, CmdImpExService, FlexibleSearchService
我注意到这些类存在于jar文件中(例如 coreserver.jar ),Intellij可以轻松地反编译它们.
I noticed that these classes are present in jar files ( e.g coreserver.jar ) and Intellij can easily decompile them.
我对关联的 .java 文件感兴趣,因为我想查看所有的Javadoc,并且希望简化调试过程.我也知道.java文件取决于Hybris版本.
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.
我可以遵循任何一组步骤(或任何链接)以便获取源(.java)文件吗?
Is there any set of steps(or any link) I can follow so that I can get the source(.java) files ?
推荐答案
据我所知,hybris非常保护其源代码.但是您可以在这里获取JavaDoc:
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
但是,您需要一个hybris帐户才能访问.将6.2.0替换为您使用的任何版本.
However you need a hybris account for access. Replace 6.2.0 with whatever version you use.
在以下位置也可以找到IntelliJ的插件:
There are also plugins for IntelliJ available at:
- https://plugins.jetbrains.com/plugin/7525-hybris-integration (付费)
- https://plugins.jetbrains.com/plugin/12639-sap-commerce集成/(免费)
- https://plugins.jetbrains.com/plugin/7525-hybris-integration (paid)
- https://plugins.jetbrains.com/plugin/12639-integration-for-sap-commerce/ (free)
使用此插件导入项目时,它将自动将JavaDoc添加到项目中.
When you import your project using this plugin, it automatically adds the JavaDoc to your projects.
这篇关于IntelliJ上的Hybris源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!