Child pages
  • Developing OpenDJ with IntelliJ IDEA

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open the Maven panel, expand OpenDJ and double-click the install label.

Error on imports of rxjava classes

That's because of the opendj-rxjava  module is empty since it only rebundles the rxjava dependency.

To fix this, you have to ignore the opendj-rxjava  module: right click on its pom.xmlMavenIgnore Project and then reload the whole project from the opendj  maven pom.

You may need to restart IntelliJ for this to work.

Running unit tests

Open the Maven panel, check the "precommit" profile, and do a build as above.

...

Go to Run > Edit Configurations... and choose Defaults > TestNG. Edit the VM options field, adding: "-Dorg.opends.server.BuildRoot=.", ensure that the working directory is "$MODULE_DIR$", and remove the Make job in the Before Launch list.