drinkingrules I had a very interesting experience today with Drools Decision Tables and MVEL. My Decision Table has a consequence that refers to $person.name - using MVEL. It compiled, it ran and it worked. But, I had a setup.drl File in the same rule package as the Decision Table, and in that setup.drl I set … Continue reading Drools: Decision Tables and MVEL – Quirk? Feature? Consequence?
Creating the Project Open Eclipse New -> Maven Project (simple project) Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.xDecisionTableExample Finish Structure pom.xml Facts Fact.java Person.java RuleResponse.java RuleRunner RuleRunnerException.java RuleRunner.java Rules Setup.drl DrinkingRules.xls drinkingrules Main Main.java kmodule.xml kmodule.xml Output
View -> Tool Windows -> Maven Project - Opens your projects in a sub-window Click on the arrow next to your project Click on Lifecycle Click on clean Click on the green (play) button Click on install Click on the green (play) button
This is a known bug in eclipse and as such has replicated into Spring STS. It is caused by the maven-jar plugin. This can be resolved by downloading and using the very latest version. Currently STS 3.8.2.RELEASE
Creating the Project Open Eclipse New -> Maven Project (simple project) Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.xExample Finish Structure pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner RuleRunnerException src/main/java com.skills421.examples.drools.exceptions.RuleRunnerException Fact src/main/java com.skills421.examples.drools.facts.Fact RuleResponse src/main/java com.skills421.examples.drools.facts.RuleResponse Person src/main/java com.skills421.examples.drools.facts.Person Rules src/main/resources/com/skills421/examples/drools/people DrinkingRules.drl kmodule.xml src/main/resources/META-INF kmodule.xml Main src/main/java com.skills421.examples.drools.Main Output
If your browser has popped up a little window that says your "Apple Computer has been blocked" and asks you to call a number so that the problem can be fixed. First DO NOT CALL THE NUMBER COUNT TO TEN, CALM DOWN - your blood will run cold, but it is easier to deal with … Continue reading “Your Apple Computer has been blocked” web popup – How to block the site