Building source of IntelliJ Community error

Answered

Hi,

 

I'm trying to build the source of IntelliJ available on repository under tag 173.4548.28. 

To build this I'm using the IntelliJ  2017.3 and JDK 1.8_161. The problem is the build gives me 

Error:(29, 27) Kotlin: Unresolved reference: imaging

in class DelegatingHttpRequestHandler (org/jetbrains/io/DelegatingHttpRequestHandler.kt).

 

What am I missing?

 

Thanks 

0
6 comments

The "org.apache.commons.imaging.Imaging" class comes from the "commons-imaging-1.0-RC.jar" library. Can you navigate to this class (Navigate | Class)?

Check that the module ("intellij.platform.ide.impl" or if old names are used the module name si "platform-impl" ), with the  "DelegatingHttpRequestHandler" class has the dependency on this library defined.

Try full project rebuild (Build | rebuild Project).

0
Avatar
Permanently deleted user

I cannot navigate to this class. 

 

I already tried to rebuild the project without success.

0

Do you have the "commons-imaging" library defined?

0
Avatar
Permanently deleted user

No I don't. Also I did not found the library in the source!

0

According to this commit which adds the library it should be in 173.4548 branch and 173.4548.28 tag. It works fine for me when I check out this tag from https://github.com/JetBrains/intellij-community/tree/idea/173.4548.28

Please double check the project configuration.

0
Avatar
Permanently deleted user

Thanks. I was doing something wrong.. but is working now!!

0

Please sign in to leave a comment.