cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Which option do I use to import Data Hub in IntelliJ ?

Former Member
0 Likes
1,282

Which of the following options do I use to import Data Hub in my IDE (IntelliJ) ?

Accepted Solutions (1)

Accepted Solutions (1)

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

I highly recommend that you setup your datahub development environment as maven war overlay, as described here:

https://help.hybris.com/1808/hcd/39507a66e8314055b3478e0963dfd9e7.html - "Data Hub Web Application Overlay"

If you do that, you can import it into intellij as a regular "Maven" project and everything "just works".

Former Member
0 Likes

your answer gave me some hope. Actually I'm trying to perform something simpler. Just want to be able to open the datahub classes in IntellyJ to be able to debug the "true" datahub application that is running remotely into a server.

To do that, is there a specific folder or file I must indicate to IntellyJ to open it properly? There is some Maven pom.xml inside Datahub folder, but it seems not the correct one to point to.

Thanks.

Below the error I'm analyzing( when DataHub calls YMKT )

former_member224482
Active Contributor
0 Likes

The screenshot above has nothing related to YMKT.

Former Member
0 Likes

Yes you may be right. But anyway that's what happens and it's likely a Datahub configuration issue.

Slava
Product and Topic Expert
Product and Topic Expert
0 Likes

If you have access to datahub source in git, then you can clone the project and import it to IntelliJ as a maven project by pointing to the root directory of all datahub modules. If you don't have access to the sources, then do what Markus recommends. That way maven will download all needed DataHub binaries and you'll be able to debug the decompiled code.

Answers (0)