<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi:</div><div>  I run the NewRuleCalculator.java  to learn Joran feature - interpreter to
  learn new rules on the fly.</div><div><br></div><div>  I modified line of 57 as  </div><div><br></div><div>   simpleConfigurator.doConfigure("src/main/java/chapters/onJoran/newRule/newRule.xml");</div><div><br></div><div>  first of all, newRule.xml has  typo for xml element "new-rule" , it should be "newRule"</div><div>  after correcting above error, the NewRuleCalculator.java run fine but didn't generate expected result as "The computation named [toto] resulted in the value 30"</div><div><br></div><div>See below output from my IDE:</div><div><br></div><div><br></div><div><div>cd D:\OpenSourceCodes\logback-master\logback-examples; JAVA_HOME=D:\\Java\\jdk1.7.0_15 "\"D:\\Program Files\\NetBeans 7.3\\java\\maven\\bin\\mvn.bat\"" "-Dexec.args=-classpath %classpath chapters.onJoran.newRule.NewRuleCalculator" -Dexec.executable=D:\\Java\\jdk1.7.0_15\\bin\\java.exe -Dexec.classpathScope=runtime -DskipTests=true process-classes org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</div><div>Scanning for projects...</div><div>                                                                        </div><div>------------------------------------------------------------------------</div><div>Building Logback Examples Module 1.0.12-SNAPSHOT</div><div>------------------------------------------------------------------------</div><div><br></div><div>[build-helper:add-test-source]</div><div>Test Source directory: D:\OpenSourceCodes\logback-master\logback-examples\src\test\scala added.</div><div><br></div><div>[resources:resources]</div><div>[debug] execute contextualize</div><div>Using 'UTF-8' encoding to copy filtered resources.</div><div>Copying 3 resources</div><div><br></div><div>[compiler:compile]</div><div>Compiling 1 source file to D:\OpenSourceCodes\logback-master\logback-examples\target\classes</div><div><br></div><div>[exec:exec]</div><div>------------------------------------------------------------------------</div><div>BUILD SUCCESS</div><div>------------------------------------------------------------------------</div><div>Total time: 1.532s</div><div>Finished at: Sun Mar 31 16:53:19 PDT 2013</div><div>Final Memory: 9M/24M</div><div>------------------------------------------------------------------------</div></div><div><br></div><div><br></div>Source code : downloading logback-master.zip from <a href="https://github.com/qos-ch/logback">https://github.com/qos-ch/logback</a><div>IDE: NetBeans 7.3</div><div>JDK version: <span style="font-size: 12pt;"> </span><span style="font-size: 12pt;">32  bit window version</span><span style="font-size: 12pt;"> Oracle JDK 1.7.0_15</span></div><div>Platform: window xp<br><br><font style="color:rgb(153, 51, 0);font-weight:bold;" size="3"><span style="font-family:Tahoma,Helvetica,Sans-Serif;"><font style="font-size:10pt;" size="2">Ming Qin<br><br>Cell Phone Number: <font style="font-size:10pt;" size="2">949-388-9898</font></font></span></font><font style="font-weight:bold;color:rgb(153, 51, 0);" size="3"><span style="font-family:Tahoma,Helvetica,Sans-Serif;"><br></span></font></div>                                          </div></body>
</html>