Nuclos rule code IntelliJ: pom.xml, codegenerator, Module from Existing Sources, source root, development environment, port 8000.

globe with meridians Language: Deutsch · English

hammer and wrench Integrating rule code in IntelliJ

Integrate rule code as a module in IntelliJ via a pom.xml – codegenerator directory and source roots.

Auf dieser Seite

Nuclos must be installed as a development environment beforehand (port 8000). Otherwise the pom.xml is not generated.

Steps

  1. Place a pom.xml in <NUCLOS-HOME>/data/codegenerator (or a custom directory with the src folders linked in). See templates without / with extension.
  2. In IntelliJ choose File → New → Module from Existing Sources….
  3. Select the codegenerator directory (containing the pom.xml).
  4. Go through the wizard (Maven is already selected).
  5. Mark the source directories as Source Root via the context menu.

From Nuclos 4.30 the simpler way is to open the codegenerator directory directly as a Maven project – see rules as a Maven project.

Related pages

gear Integrating rules as a Maven project in an IDE


From 4.30.

Öffnen →