Closed tkobayas closed 2 weeks ago
This issue was wrong. mvn compile
is enough for working with IDE. It's already noted in the document.
NOTE
The rule project requires code generation that is triggered by mvn compile phase. If you directly run RuleTest.java in IDE, you may need to run mvn compile first.
When we generate a project with
mvn archetype:generate -DarchetypeGroupId=org.kie -DarchetypeArtifactId=kie-drools-exec-model-ruleunit-archetype -DarchetypeVersion=999-SNAPSHOT
, executable model java sources are not persisted to the filesystem, so IDE (e.g. Intellij IDEA) cannot run the test case.Add notes:
-DdumpKieSourcesFolder=generated-sources/executable-model