Java programmin in Enonic


#1

Hi.
I’m tried to import an Enonic project inside Intellij (and Vs Code with java) but it desnt seems to recognize as a java project. So all the cool features that make java conding easier doenst work.
Do you guys have any ideia if this is doable ? If so, what i’m doing wrong ?

Thanks !

OS: Ubuntu
JDK version: 8 (and also tried with 11)
Enonic project version: 7


#2

XP 7 works only with JDK 11. Set it up as global one https://www.jetbrains.com/help/idea/sdk.html
When you clone and open XP repository Intellij IDEA will show a popup “Intellij IDEA found a gradle build script”.
Click “Import Gradle project”.


#3