apache / incubator-kie-drools

Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java.
http://www.drools.org
5.85k stars 2.49k forks source link

Add notes for IDE usage in Getting Started #6078

Closed tkobayas closed 2 weeks ago

tkobayas commented 3 weeks ago

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:

tkobayas commented 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.