From: <jbo...@li...> - 2006-05-23 06:53:56
|
Author: mic...@jb... Date: 2006-05-23 02:53:48 -0400 (Tue, 23 May 2006) New Revision: 4365 Modified: labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/Instructions.txt labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/src/java/org/acme/insurance/launcher/PricingRuleLauncher.java Log: lab 4 Modified: labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/Instructions.txt =================================================================== --- labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/Instructions.txt 2006-05-23 06:13:23 UTC (rev 4364) +++ labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/Instructions.txt 2006-05-23 06:53:48 UTC (rev 4365) @@ -9,7 +9,7 @@ FOR DECISION TABLES: Step 1: Import the project into eclipse. - Step 2: Note the location of PolicyPricing.xls decision table. Note that it is in a classpath + Step 2: Note the location of PolicyPricing.xls decision table (in /src/rules/decisiontables/). Note that it is in a classpath accessible location (seperate to the source code). Step 3: Right click on the PolicyPricing.xls spreadsheet, and choose the Open With menu item followed by "System Editor". This will open up the decision table in the spreadsheet app. @@ -43,6 +43,8 @@ + + Pre-requisites: Eclipse 3.2 must be installed JBoss Rules plug in installed into Eclipse Modified: labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/src/java/org/acme/insurance/launcher/PricingRuleLauncher.java =================================================================== --- labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/src/java/org/acme/insurance/launcher/PricingRuleLauncher.java 2006-05-23 06:13:23 UTC (rev 4364) +++ labs/jbossrules/trunk/documentation/training/developers-course/lab-4-rule-formats/src/java/org/acme/insurance/launcher/PricingRuleLauncher.java 2006-05-23 06:53:48 UTC (rev 4365) @@ -2,8 +2,6 @@ import java.io.IOException; import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.Reader; import java.io.StringReader; import org.acme.insurance.Driver; @@ -15,7 +13,6 @@ import org.drools.compiler.PackageBuilder; import org.drools.decisiontable.InputType; import org.drools.decisiontable.SpreadsheetCompiler; -import org.drools.rule.Package; /** * This is a sample file to launch a rule package from a rule source file. |