Is there a tutorial (or can someone offer some pointers) on how to set up a DHIS2 development environment for IntelliJ IDEA? I’m switching over from Eclipse.
I’ve imported the dhis-2 and dhis-2/dhis-web projects (pom.xml) as Maven projects, but I’m getting errors and think I need to somehow tell IDEA to use the dhis-2 project as a dependency for the dhis-web project. Or is there some other obvious step that I’m missing?
Open main pom.xml from dhis-2 directory (choose open from file menu, don’t create a new project, or project from existing sources)
Let intellij finish all scanning, also add the beans to the project (it will ask you)
Then do the same for dhis-web/pom.xml file (expand the dhis-web folder, right click on pom.xml and choose add as maven project)
After this, I usually never have any issues.
You could potentially also open pom-full.xml, but I don’t do that myself.
···
On Wed, Mar 23, 2016 at 1:51 AM, Kenneth Haase ken@dhis2.org wrote:
Is there a tutorial (or can someone offer some pointers) on how to set up a DHIS2 development environment for IntelliJ IDEA? I’m switching over from Eclipse.
I’ve imported the dhis-2 and dhis-2/dhis-web projects (pom.xml) as Maven projects, but I’m getting errors and think I need to somehow tell IDEA to use the dhis-2 project as a dependency for the dhis-web project. Or is there some other obvious step that I’m missing?